Repository navigation
chore(deps): consolidate Dependabot bumps + upgrade pyo3 0.29 / arrow 59 - #172
Merged
Merged
Conversation
vikrantpuppala
requested review from
jayantsing-db,
samikshya-db and
sreekanth-db
July 17, 2026 12:29
vikrantpuppala
force-pushed
the
chore/consolidate-dependabot-and-pyo3-0.29
branch
from
July 17, 2026 16:44
d514883 to
3d3a0ad
Compare
Consolidates the repo's open Dependabot updates into one change and
takes the pyo3 0.29 upgrade that eliminates the RUSTSEC-2026-0176 /
-0177 advisories at the source (rather than suppressing them) now that
arrow-pyarrow 59.1.0 lifted its pyo3 cap to allow 0.29.
Rust dependency bumps:
- pyo3 0.26 -> 0.29, pyo3-log -> 0.13.4 (fixes RUSTSEC-2026-0176 OOB
read in Bound{List,Tuple}Iterator::nth/nth_back and RUSTSEC-2026-0177
missing Sync bound on PyCFunction::new_closure)
- arrow-* 57 -> 59 across root, pyo3, and napi crates (kept in
lock-step to avoid two arrow versions in the graph)
- napi / napi-derive 2 -> 3
- rand 0.9 -> 0.10, sha2 0.10 -> 0.11, dirs 5 -> 6, dashmap 5 -> 6,
lz4_flex 0.11 -> 0.13
- anyhow dropped from the tree by the lockfile refresh (had been
1.0.102, affected by the newly-published RUSTSEC-2026-0190
Error::downcast_mut unsoundness — newly published, affected main too)
Code changes required by the bumps:
- rand 0.10: `random_range` moved to the `RngExt` trait (retry.rs)
- sha2 0.11: `finalize()` returns a `hybrid_array::Array` with no
`LowerHex` impl; format via `hex::encode` and declare `hex` as a
direct dep (it was previously only transitively available)
- napi 3: `#[napi(string_enum)]` no longer derives Copy — add
`Clone, Copy` to `AuthMode`; `ThreadsafeFunction::unref` is
soft-deprecated — scope an `#[allow(deprecated)]` to the one call
GitHub Actions (SHA-pinned, matching the repo's hardened-runner
convention): actions/checkout v6.0.3, setup-rust-toolchain v1.17.0,
taiki-e/install-action v2.83.1, actions/stale v10.4.0,
actions/setup-python v6.3.0, astral-sh/setup-uv v8.3.2,
actions/upload-artifact v7.0.1.
Verification:
- root: build + clippy -D warnings + `cargo test` (23 lib + integ) green
- pyo3: build + clippy + cargo test (14) + `maturin develop` +
pytest (6 no-network, 4 live warehouse incl. Arrow->pyarrow handoff)
- napi: lib + release cdylib (LTO) build + clippy -D warnings green
- osv-scanner v2.3.8: 0 findings across all three lockfiles, no
osv-scanner.toml suppression needed
Supersedes Dependabot PRs #49-#57, #63, #87, #109-#114, #128, #164.
Co-authored-by: Isaac
Signed-off-by: Vikrant Puppala <vikrant.puppala@databricks.com>
vikrantpuppala
force-pushed
the
chore/consolidate-dependabot-and-pyo3-0.29
branch
from
July 17, 2026 17:11
3d3a0ad to
2fdd69e
Compare
vikrantpuppala
temporarily deployed
to
azure-prod
July 17, 2026 17:11 — with
GitHub Actions
Inactive
vikrantpuppala
temporarily deployed
to
azure-prod
July 17, 2026 17:11 — with
GitHub Actions
Inactive
vikrantpuppala
temporarily deployed
to
azure-prod
July 17, 2026 17:11 — with
GitHub Actions
Inactive
vikrantpuppala
temporarily deployed
to
azure-prod
July 17, 2026 17:11 — with
GitHub Actions
Inactive
vikrantpuppala
temporarily deployed
to
azure-prod
July 17, 2026 17:11 — with
GitHub Actions
Inactive
vikrantpuppala
temporarily deployed
to
azure-prod
July 17, 2026 17:11 — with
GitHub Actions
Inactive
vikrantpuppala
temporarily deployed
to
azure-prod
July 17, 2026 17:11 — with
GitHub Actions
Inactive
vikrantpuppala
temporarily deployed
to
azure-prod
July 17, 2026 17:11 — with
GitHub Actions
Inactive
Two CI gates broke after the dependency bumps in this PR; both are config/CLI issues, not code defects. napi test (napi-checks.yml): napi-rs 3's `napi::error` references N-API symbols (`napi_reference_unref`, `napi_call_threadsafe_function`, `napi_delete_reference`) from a `Drop` impl unconditionally. The hostless `lib test` executable therefore fails to link on Linux (and crashes on load under undefined-symbol linking) — napi-build only emits dynamic-lookup for the cdylib, not test binaries. Add a `dyn-symbols` passthrough feature (napi/dyn-symbols) that resolves N-API via libloading with no-op stubs when absent, and enable it only for `cargo test`. The release cdylib keeps link-time symbols. Verified: `cargo test --features dyn-symbols` runs 70 tests hostless; release cdylib still builds without the feature. License check (license-check.yml): the `taiki-e/install-action` bump (already on main via #164) pulls a newer cargo-deny whose CLI moved `--config` to a global flag (before the `check` subcommand). The napi invocation placed it after `check` and errored with "unexpected argument '--config'". Move `--config` before `check` (alongside `--manifest-path`) and pin `cargo-deny@0.20.2` so the CLI grammar can't drift again from an unpinned install. This also fixes the same breakage already present on main. Co-authored-by: Isaac Signed-off-by: Vikrant Puppala <vikrant.puppala@databricks.com>
vikrantpuppala
temporarily deployed
to
azure-prod
July 17, 2026 17:23 — with
GitHub Actions
Inactive
vikrantpuppala
temporarily deployed
to
azure-prod
July 17, 2026 17:23 — with
GitHub Actions
Inactive
vikrantpuppala
temporarily deployed
to
azure-prod
July 17, 2026 17:24 — with
GitHub Actions
Inactive
vikrantpuppala
temporarily deployed
to
azure-prod
July 17, 2026 17:24 — with
GitHub Actions
Inactive
vikrantpuppala
temporarily deployed
to
azure-prod
July 17, 2026 17:24 — with
GitHub Actions
Inactive
vikrantpuppala
temporarily deployed
to
azure-prod
July 17, 2026 17:24 — with
GitHub Actions
Inactive
vikrantpuppala
temporarily deployed
to
azure-prod
July 17, 2026 17:24 — with
GitHub Actions
Inactive
vikrantpuppala
temporarily deployed
to
azure-prod
July 17, 2026 17:24 — with
GitHub Actions
Inactive
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Jul 20, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Jul 20, 2026
This was referenced Jul 20, 2026
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.
What
Consolidates the repo's open Dependabot updates into a single change and takes the pyo3 0.29 upgrade that eliminates the
RUSTSEC-2026-0176/-0177advisories at the source — now possible becausearrow-pyarrow 59.1.0lifted its pyo3 cap to allow 0.29 (it previously capped at^0.28, which is why the earlier attempt suppressed rather than fixed).This replaces the suppression-only approach in #159 — no
osv-scanner.tomlentries needed; the advisories are gone from the dependency tree.Rust dependency bumps
Bound{List,Tuple}Iterator::nth/nth_back) + RUSTSEC-2026-0177 (missingSynconPyCFunction::new_closure)Error::downcast_mutunsoundness) — newly published, affectedmaintooCode changes required by the bumps
random_rangemoved to theRngExttrait (retry.rs).finalize()now returns ahybrid_array::Arraywith noLowerHeximpl → format viahex::encode, and declarehexas a direct dep (previously only transitively available).#[napi(string_enum)]no longer derivesCopy→ addClone, CopytoAuthMode;ThreadsafeFunction::unrefis soft-deprecated → scoped#[allow(deprecated)]on the single call (the weak-TSFN replacement can't be expressed as a#[napi]arg type).GitHub Actions
SHA-pinned per the hardened-runner convention:
actions/checkoutv6.0.3,setup-rust-toolchainv1.17.0,taiki-e/install-actionv2.83.1,actions/stalev10.4.0,actions/setup-pythonv6.3.0,astral-sh/setup-uvv8.3.2,actions/upload-artifactv7.0.1.Verification (local)
cargo build+clippy -D warnings+cargo test(23 lib + integration) green.cargo test(14) +maturin develop+pytest— 6 no-network pass, and 4 live warehouse tests pass includingtest_range_drains_to_pyarrow_table(the Arrow 59 → pyarrow handoff).clippy -D warningsgreen. (The Rust test-binary link needs N-API host symbols; that step runs in CI's environment —mainfails to test-link locally the same way.)Supersedes
Dependabot PRs #49, #50, #51, #52, #53, #54, #55, #56, #57, #63, #87, #109, #110, #111, #112, #114, #128, #164. These can be closed once this merges.
This pull request and its description were written by Isaac.