Skip to content

Commit 8567bfc

Browse files
chore(deps): update pyo3 requirement from 0.29 to 0.30 in /rust (#852)
* chore(deps): update pyo3 requirement from 0.29 to 0.30 in /rust Updates the requirements on [pyo3](https://github.com/pyo3/pyo3) to permit the latest version. - [Release notes](https://github.com/pyo3/pyo3/releases) - [Changelog](https://github.com/PyO3/pyo3/blob/main/CHANGELOG.md) - [Commits](PyO3/pyo3@v0.29.0...v0.29.3) --- updated-dependencies: - dependency-name: pyo3 dependency-version: 0.29.3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> * chore(deps): move rust-numpy to 0.30 in lockstep with pyo3 0.30 rust-numpy 0.N requires pyo3 ^0.N, so the pyo3-only bump cannot compile (two pyo3-ffi versions would both link libpython). Fold the numpy 0.30 bump in here, refresh the Cargo.toml comment (pyo3 0.30 spans Python 3.9-3.15, MSRV 1.85 = our rust-version), and add a Dependabot group so the pair arrives as one PR in future. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: igerber <isaac.gerber@gmail.com>
1 parent 81f3dac commit 8567bfc

2 files changed

Lines changed: 15 additions & 3 deletions

File tree

‎.github/dependabot.yml‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,17 @@ updates:
2525
- "dependencies"
2626
- "rust"
2727
groups:
28+
# pyo3 and rust-numpy are lockstep (numpy 0.N requires pyo3 ^0.N), so
29+
# a lone bump of either cannot compile. Listed first so they land in
30+
# this group rather than rust-minor-patch.
31+
pyo3-stack:
32+
patterns:
33+
- "pyo3"
34+
- "numpy"
35+
update-types:
36+
- "major"
37+
- "minor"
38+
- "patch"
2839
rust-minor-patch:
2940
update-types:
3041
- "minor"

‎rust/Cargo.toml‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,10 @@ openblas = ["ndarray/blas"]
2525
alloc-profile = []
2626

2727
[dependencies]
28-
# PyO3 0.29 supports Python 3.9-3.14
29-
pyo3 = "0.29"
30-
numpy = "0.29"
28+
# PyO3 0.30 supports Python 3.9-3.15 (pyo3 and numpy must move together:
29+
# rust-numpy 0.N requires pyo3 ^0.N)
30+
pyo3 = "0.30"
31+
numpy = "0.30"
3132
ndarray = { version = "0.17", features = ["rayon"] }
3233
rand = "0.10"
3334
rand_xoshiro = "0.8"

0 commit comments

Comments
 (0)