Repository navigation
fix(deps): bump pyo3 0.26 → 0.29 (RUSTSEC-2026-0176/0177) + arrow 57 → 59 - #180
Closed
eric-wang-1990 wants to merge 2 commits into
Closed
eric-wang-1990 wants to merge 2 commits into
eric-wang-1990 wants to merge 2 commits into
Conversation
…→ 59 The Security Scan (OSV-Scanner) fails on every PR against two advisories in pyo3 0.26: RUSTSEC-2026-0176 / GHSA-36hh-v3qg-5jq4 (out-of-bounds read in PyList/PyTuple nth/nth_back, 8.7) and RUSTSEC-2026-0177 / GHSA-chgr-c6px-7xpp (missing Sync bound on new_closure, 6.3). Both are patched in pyo3 0.29.0. pyo3 0.29 requires arrow-pyarrow 59 (arrow-pyarrow 57 hard-pins pyo3 ^0.26), and the pyo3/napi crates share RecordBatch/Schema types with the kernel — so the arrow-* pins move 57 → 59 in lockstep across all three workspaces (root, pyo3, napi). A 57/59 split otherwise surfaces as `mismatched types: multiple versions of arrow_schema` at the napi↔kernel boundary. No source changes — pure dependency version bumps. Verified locally through the JFrog proxy: - root kernel: cargo check --workspace --tests, cargo test (687 pass), fmt, clippy -D warnings - pyo3: cargo check --tests (0.29 API type-checks against arrow 59), fmt, clippy (cargo test skipped locally — extension-module doesn't link libpython off-interpreter; CI builds the abi3 wheel via maturin) - napi: cargo test (70 pass), fmt, clippy -D warnings pyo3 now resolves to 0.29.0 (outside the advisories' >=0.24,<0.29 range); this is a real fix, not an osv-scanner.toml suppression. Signed-off-by: eric-wang-1990 <e.wang@databricks.com> Co-authored-by: Isaac
eric-wang-1990
temporarily deployed
to
azure-prod
July 20, 2026 06:50 — with
GitHub Actions
Inactive
eric-wang-1990
temporarily deployed
to
azure-prod
July 20, 2026 06:50 — with
GitHub Actions
Inactive
eric-wang-1990
temporarily deployed
to
azure-prod
July 20, 2026 06:50 — with
GitHub Actions
Inactive
eric-wang-1990
temporarily deployed
to
azure-prod
July 20, 2026 06:50 — with
GitHub Actions
Inactive
eric-wang-1990
had a problem deploying
to
azure-prod
July 20, 2026 06:50 — with
GitHub Actions
Error
eric-wang-1990
temporarily deployed
to
azure-prod
July 20, 2026 06:50 — with
GitHub Actions
Inactive
eric-wang-1990
had a problem deploying
to
azure-prod
July 20, 2026 06:50 — with
GitHub Actions
Error
eric-wang-1990
temporarily deployed
to
azure-prod
July 20, 2026 06:50 — with
GitHub Actions
Inactive
The napi-workspace step of license-check.yml runs `cargo deny --manifest-path ... check --config ...`, which fails on current cargo-deny with `error: unexpected argument '--config' found`. cargo-deny 0.20 (EmbarkStudios/cargo-deny#881) moved `--config` from a check-subcommand flag to a global/root flag, so it must come BEFORE `check`. Reorder to `cargo deny --manifest-path ... --config ... check` and update the stale comment. Pre-existing failure independent of the pyo3 bump (it fails on every open PR, including the dependabot ones, since cargo-deny auto-updates via taiki-e/install-action); folded in here so #180 goes fully green. The root-workspace `cargo deny check` step was already correct (no --config) and is unaffected. Signed-off-by: eric-wang-1990 <e.wang@databricks.com> Co-authored-by: Isaac
eric-wang-1990
temporarily deployed
to
azure-prod
July 20, 2026 06:59 — with
GitHub Actions
Inactive
eric-wang-1990
temporarily deployed
to
azure-prod
July 20, 2026 06:59 — with
GitHub Actions
Inactive
eric-wang-1990
temporarily deployed
to
azure-prod
July 20, 2026 07:01 — with
GitHub Actions
Inactive
eric-wang-1990
temporarily deployed
to
azure-prod
July 20, 2026 07:01 — with
GitHub Actions
Inactive
eric-wang-1990
temporarily deployed
to
azure-prod
July 20, 2026 07:01 — with
GitHub Actions
Inactive
eric-wang-1990
temporarily deployed
to
azure-prod
July 20, 2026 07:01 — with
GitHub Actions
Inactive
eric-wang-1990
temporarily deployed
to
azure-prod
July 20, 2026 07:01 — with
GitHub Actions
Inactive
eric-wang-1990
temporarily deployed
to
azure-prod
July 20, 2026 07:01 — with
GitHub Actions
Inactive
Collaborator
Author
|
Closing as superseded — every change here is already on
So the RUSTSEC-2026-0176/0177 advisories are resolved on |
This branch was previously deployed
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.
Why
The Security Scan (OSV-Scanner) is failing on every PR against two advisories in
pyo3@0.26:PyList/PyTuplenth/nth_back(unchecked index arithmetic)Syncbound onPyCFunction::new_closureclosuresBoth are patched in pyo3 0.29.0. (This repo doesn't call the affected APIs directly — the exposure is transitive through pyo3's iterators — but OSV flags the dependency regardless, so the scan stays red for all PRs until pyo3 moves.)
What
pyo30.26 → 0.29 inpyo3/Cargo.toml.arrow-*57 → 59 across all three workspaces (root kernel,pyo3/,napi/). This is forced, not optional: pyo3 0.29 requiresarrow-pyarrow 59(arrow-pyarrow 57 hard-pins pyo3^0.26), and the pyo3/napi crates shareRecordBatch/Schematypes with the kernel — a 57/59 split surfaces asmismatched types: multiple versions of arrow_schemaat the napi↔kernel boundary.No source changes — pure dependency version bumps; the arrow 57→59 API is source-compatible for everything this repo uses.
Verification (locally, through the JFrog proxy)
cargo check --workspace --tests,cargo test(687 pass),cargo fmt --check,cargo clippy --all-targets -- -D warnings— all clean.cargo check --tests(0.29 API type-checks against arrow 59), fmt, clippy clean. (cargo testis skipped locally — theextension-modulefeature intentionally doesn't link libpython off-interpreter; CI builds the abi3 wheel via maturin.)cargo test(70 pass), fmt, clippy clean.>=0.24,<0.29affected range — a real fix, not anosv-scanner.tomlsuppression.Separate from the bot-onboarding PR (#179) by design — this is a repo-wide dependency change that predates and outlives that work. Unblocks the Security Scan for #179 and every other open PR.
This pull request and its description were written by Isaac.