fix: bump pyo3 to 0.29 and run cargo update for RUSTSEC-2026-0176/0177#284
Merged
Merged
Conversation
Bumped pyo3 from 0.28 to 0.29 in rust-bindings/Cargo.toml to resolve two security advisories (RUSTSEC-2026-0176: out-of-bounds read in PyList/PyTuple iterators, RUSTSEC-2026-0177: missing Sync bound on PyCFunction::new_closure). Ran cargo update to regenerate Cargo.lock and regenerated THIRD-PARTY-LICENSES.txt. Signed-off-by: Sean Tang <171081544+seant-aws@users.noreply.github.com>
AlexTranAmz
approved these changes
Jun 17, 2026
leongdl
approved these changes
Jun 18, 2026
godobyte
approved these changes
Jun 18, 2026
This was referenced Jun 18, 2026
Merged
Merged
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What was the problem/requirement? (What/Why)
cargo deny check advisoriesfails due to two security vulnerabilities in pyo3 0.28.3:nth/nth_backforPyListandPyTupleiteratorsSyncbound onPyCFunction::new_closureclosuresThis blocks the release pipeline.
What was the solution? (How)
Bumped pyo3 from
0.28to0.29inrust-bindings/Cargo.tomland rancargo updateto regenerateCargo.lock. RegeneratedTHIRD-PARTY-LICENSES.txtto reflect the updated dependency tree.What is the impact of this change?
No functional changes. pyo3 0.29 is API-compatible for our usage (confirmed by clean
cargo build). Transitive dependencies received minor/patch bumps viacargo update.How was this change tested?
cargo buildpasses inrust-bindings/rust_quality.ymlandcode_quality.yml)Was this change documented?
N/A — dependency version bump only.
Is this a breaking change?
No.
Does this change impact security?
Yes — it resolves two security advisories (RUSTSEC-2026-0176, RUSTSEC-2026-0177). No new threat surface introduced.