Skip to content

Commit 2fdd69e

Browse files
chore(deps): consolidate Dependabot bumps + upgrade pyo3 0.29 / arrow 59
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>
1 parent afe5197 commit 2fdd69e

21 files changed

Lines changed: 893 additions & 1262 deletions

‎.github/workflows/cargo-publish.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
runs-on: ubuntu-latest
7070
steps:
7171
- name: Checkout
72-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
72+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
7373
with:
7474
# Tag-triggered runs need full history-of-the-tag's commit only;
7575
# depth=1 keeps the checkout small.
@@ -81,7 +81,7 @@ jobs:
8181
cargo: "true"
8282

8383
- name: Set up Rust toolchain
84-
uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1.13.0
84+
uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1.17.0
8585

8686
# Sanity-check the tag-vs-Cargo.toml-version alignment so a typo
8787
# in the tag (`v0.1.0` vs Cargo.toml `0.1.1`) fails loudly here

‎.github/workflows/close-stale.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
group: databricks-protected-runner-group
3535
labels: linux-ubuntu-latest
3636
steps:
37-
- uses: actions/stale@1e223db275d687790206a7acac4d1a11bd6fe629 # v10.4.0
37+
- uses: actions/stale@1e223db275d687790206a7acac4d1a11bd6fe629 # v10.4.0
3838
with:
3939
stale-issue-message: "This issue has been marked as Stale because it has been open for 30 days with no activity. If you would like the issue to remain open, please remove the stale label or comment on the issue."
4040
stale-pr-message: "This PR has been marked as Stale because it has been open for 30 days with no activity. If you would like the PR to remain open, please remove the stale label or comment on the PR."

‎.github/workflows/coverage.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,21 +62,21 @@ jobs:
6262
group: databricks-protected-runner-group
6363
labels: linux-ubuntu-latest
6464
steps:
65-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
65+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
6666
with:
6767
fetch-depth: 0
6868

6969
- uses: ./.github/actions/setup-jfrog
7070
with:
7171
cargo: "true"
7272

73-
- uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1.17.0
73+
- uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1.17.0
7474
with:
7575
toolchain: stable
7676
components: llvm-tools-preview
7777

7878
- name: Install cargo-llvm-cov
79-
uses: taiki-e/install-action@2ca9b94c269419b7b0c711c09d0b21c4e1d51145 # v2.83.1
79+
uses: taiki-e/install-action@2ca9b94c269419b7b0c711c09d0b21c4e1d51145 # v2.83.1
8080
with:
8181
tool: cargo-llvm-cov
8282

‎.github/workflows/dco-check.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
name: Check DCO Sign-off
3535
steps:
3636
- name: Checkout
37-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
37+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
3838
with:
3939
fetch-depth: 0
4040

‎.github/workflows/license-check.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,16 +64,16 @@ jobs:
6464
group: databricks-protected-runner-group
6565
labels: linux-ubuntu-latest
6666
steps:
67-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
67+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
6868

6969
- uses: ./.github/actions/setup-jfrog
7070
with:
7171
cargo: "true"
7272

73-
- uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1.17.0
73+
- uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1.17.0
7474

7575
- name: Install cargo-deny
76-
uses: taiki-e/install-action@2ca9b94c269419b7b0c711c09d0b21c4e1d51145 # v2.83.1
76+
uses: taiki-e/install-action@2ca9b94c269419b7b0c711c09d0b21c4e1d51145 # v2.83.1
7777
with:
7878
tool: cargo-deny
7979

‎.github/workflows/napi-checks.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
outputs:
7373
ready: ${{ steps.check.outputs.ready }}
7474
steps:
75-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
75+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
7676

7777
- name: "Check for napi/Cargo.toml"
7878
id: check
@@ -102,7 +102,7 @@ jobs:
102102
# All cargo commands run from the napi/ standalone workspace.
103103
working-directory: napi
104104
steps:
105-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
105+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
106106

107107
# Route cargo through the JFrog crates proxy. The protected
108108
# runner group blocks direct crates.io, so without this every
@@ -113,7 +113,7 @@ jobs:
113113
with:
114114
cargo: "true"
115115

116-
- uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1.17.0
116+
- uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1.17.0
117117
with:
118118
components: rustfmt, clippy
119119

‎.github/workflows/pr-checks.yml‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ jobs:
6565
group: databricks-protected-runner-group
6666
labels: linux-ubuntu-latest
6767
steps:
68-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
68+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
6969

70-
- uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1.17.0
70+
- uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1.17.0
7171
with:
7272
toolchain: stable
7373
components: rustfmt
@@ -81,13 +81,13 @@ jobs:
8181
group: databricks-protected-runner-group
8282
labels: linux-ubuntu-latest
8383
steps:
84-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
84+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
8585

8686
- uses: ./.github/actions/setup-jfrog
8787
with:
8888
cargo: "true"
8989

90-
- uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1.17.0
90+
- uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1.17.0
9191
with:
9292
toolchain: stable
9393
components: clippy
@@ -101,13 +101,13 @@ jobs:
101101
group: databricks-protected-runner-group
102102
labels: linux-ubuntu-latest
103103
steps:
104-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
104+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
105105

106106
- uses: ./.github/actions/setup-jfrog
107107
with:
108108
cargo: "true"
109109

110-
- uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1.17.0
110+
- uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1.17.0
111111
with:
112112
toolchain: stable
113113

@@ -124,13 +124,13 @@ jobs:
124124
group: databricks-protected-runner-group
125125
labels: linux-ubuntu-latest
126126
steps:
127-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
127+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
128128

129129
- uses: ./.github/actions/setup-jfrog
130130
with:
131131
cargo: "true"
132132

133-
- uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1.17.0
133+
- uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1.17.0
134134
with:
135135
toolchain: stable
136136

@@ -147,13 +147,13 @@ jobs:
147147
group: databricks-protected-runner-group
148148
labels: linux-ubuntu-latest
149149
steps:
150-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
150+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
151151

152152
- uses: ./.github/actions/setup-jfrog
153153
with:
154154
cargo: "true"
155155

156-
- uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1.17.0
156+
- uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1.17.0
157157
with:
158158
toolchain: stable
159159
components: clippy

‎.github/workflows/pyo3-checks.yml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
outputs:
6666
ready: ${{ steps.check.outputs.ready }}
6767
steps:
68-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
68+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
6969

7070
- name: "Check for pyo3/Cargo.toml"
7171
id: check
@@ -107,24 +107,24 @@ jobs:
107107
# in pyproject.toml, exercising that path in CI.)
108108
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
109109
steps:
110-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
110+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
111111

112112
- uses: ./.github/actions/setup-jfrog
113113
with:
114114
cargo: "true"
115115
uv: "true"
116116

117-
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
117+
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
118118
with:
119119
python-version: ${{ matrix.python-version }}
120120

121-
- uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1.17.0
121+
- uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1.17.0
122122

123123
# uv is the Python package manager the kernel pyo3 sub-crate
124124
# uses for env management. uv itself is installed via
125125
# astral-sh/setup-uv (SHA-pinned) rather than via
126126
# `pip install uv` so the bootstrap is also hash-locked.
127-
- uses: astral-sh/setup-uv@11f9893b081a58869d3b5fccaea48c9e9e46f990 # v8.3.2
127+
- uses: astral-sh/setup-uv@11f9893b081a58869d3b5fccaea48c9e9e46f990 # v8.3.2
128128
with:
129129
# Pin uv to a known good version; bump deliberately.
130130
version: "0.11.14"

‎.github/workflows/rust-e2e.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
RUST_LOG: databricks_sql_kernel=debug
7575
RUST_BACKTRACE: 1
7676
steps:
77-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
77+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
7878
with:
7979
fetch-depth: 0
8080
persist-credentials: false
@@ -83,7 +83,7 @@ jobs:
8383
with:
8484
cargo: "true"
8585

86-
- uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1.17.0
86+
- uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1.17.0
8787

8888
- name: Run v0 E2E tests
8989
run: |
@@ -124,7 +124,7 @@ jobs:
124124
RUST_LOG: databricks_sql_kernel=debug
125125
RUST_BACKTRACE: 1
126126
steps:
127-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
127+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
128128
with:
129129
fetch-depth: 0
130130
persist-credentials: false
@@ -133,7 +133,7 @@ jobs:
133133
with:
134134
cargo: "true"
135135

136-
- uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1.17.0
136+
- uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1.17.0
137137

138138
- name: Start mitmproxy
139139
run: |

‎.github/workflows/securityScan.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585

8686
steps:
8787
- name: Checkout
88-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
88+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
8989

9090
# JFrog OIDC + cargo proxy: skipped on fork PRs (no OIDC token).
9191
# Fork PRs still resolve crates.io directly; JFrog is a faster

0 commit comments

Comments
 (0)