-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Downgrade aws-smithy-runtime, update rust_decimal, ignore RUSTSEC-2026-0001 to get clean CI
#19657
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
rust_decimal to avoid rustsec errors
|
Looks like there is something wrong with rkyv as well |
|
I am going to be lazy and wait to see if someone upstream hits the same issue and hopefully we get a fix out |
|
fwiw the rust_decimal team seems to be waiting on a backport of the fix for rkyv - paupino/rust-decimal#767 (comment) |
|
Looks like rkyv released a backport Though the advisory db still requires |
…ion into alamb/downgrade_aws-smithy
|
Looks like there is progress being made on the upstream issue In the interim, I'll add a ignore to the file to get CI passing cleanly again and I have an AI trying to remove the rust_decimal dependency |
rust_decimal to avoid rustsec errorsrust_decimal, ignore RUSTSEC-2026-0001 to get clean CI
|
Merging this to get the CI clean |
|
Here is my proposal to remove the dependnecy (and the --ignore) |
…001` (#19666) ## Which issue does this PR close? - Part of #19656 ## Rationale for this change rust_decimal is a one person crate and is released somewhat infrequently * https://github.com/paupino/rust-decimal * https://crates.io/crates/rust_decimal It also uses a non trivial number of dependencies, including https://crates.io/crates/rkyv, some sort of zero copy deserialization framework that was recently subject to a RUSTSEC security advisory, see #19656 / #19657 Since `rust_decimal` is only used for sqllogictests to parse the results from postgres, we can pretty easily remove the dependency on `rust_decimal` and inline the very small amount functionality we need for sqllogictests This will both decrease the build time and our dependency trail. ## What changes are included in this PR? Removes the `rust_decimal` dependency from DataFusion and inlines the smallest required subset of decimal functionality we need for sqllogictests (which turns out to be pretty small) ## Are these changes tested? Yes by CI ## Are there any user-facing changes? No, this is all internal testing infrastructure
…001` (apache#19666) - Part of apache#19656 rust_decimal is a one person crate and is released somewhat infrequently * https://github.com/paupino/rust-decimal * https://crates.io/crates/rust_decimal It also uses a non trivial number of dependencies, including https://crates.io/crates/rkyv, some sort of zero copy deserialization framework that was recently subject to a RUSTSEC security advisory, see apache#19656 / apache#19657 Since `rust_decimal` is only used for sqllogictests to parse the results from postgres, we can pretty easily remove the dependency on `rust_decimal` and inline the very small amount functionality we need for sqllogictests This will both decrease the build time and our dependency trail. Removes the `rust_decimal` dependency from DataFusion and inlines the smallest required subset of decimal functionality we need for sqllogictests (which turns out to be pretty small) Yes by CI No, this is all internal testing infrastructure
Which issue does this PR close?
Rationale for this change
CI is failing I think because aws-smithy-runtime was yanked
What changes are included in this PR?
ran
cargo updatefor this crate and then checked in the results:Are these changes tested?
I tested locally
Are there any user-facing changes?
No this is a developmnt process only