From dfca1bfd75d1df1414743ce44fb1425a06cc5e0c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 18 Oct 2026 12:38:52 +0000 Subject: [PATCH 1/2] 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](https://github.com/pyo3/pyo3/compare/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] --- rust/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/Cargo.toml b/rust/Cargo.toml index 4c253cd8..363794ce 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -26,7 +26,7 @@ alloc-profile = [] [dependencies] # PyO3 0.29 supports Python 3.9-3.14 -pyo3 = "0.29" +pyo3 = "0.30" numpy = "0.29" ndarray = { version = "0.17", features = ["rayon"] } rand = "0.10" From 50bbc25ace386f3b791b2bc5495a13b8906a64f5 Mon Sep 17 00:00:00 2001 From: igerber Date: Sun, 18 Oct 2026 11:21:04 -0400 Subject: [PATCH 2/2] 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. --- .github/dependabot.yml | 11 +++++++++++ rust/Cargo.toml | 5 +++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index b5e49600..6593e1e7 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -25,6 +25,17 @@ updates: - "dependencies" - "rust" groups: + # pyo3 and rust-numpy are lockstep (numpy 0.N requires pyo3 ^0.N), so + # a lone bump of either cannot compile. Listed first so they land in + # this group rather than rust-minor-patch. + pyo3-stack: + patterns: + - "pyo3" + - "numpy" + update-types: + - "major" + - "minor" + - "patch" rust-minor-patch: update-types: - "minor" diff --git a/rust/Cargo.toml b/rust/Cargo.toml index 363794ce..2c0c9772 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -25,9 +25,10 @@ openblas = ["ndarray/blas"] alloc-profile = [] [dependencies] -# PyO3 0.29 supports Python 3.9-3.14 +# PyO3 0.30 supports Python 3.9-3.15 (pyo3 and numpy must move together: +# rust-numpy 0.N requires pyo3 ^0.N) pyo3 = "0.30" -numpy = "0.29" +numpy = "0.30" ndarray = { version = "0.17", features = ["rayon"] } rand = "0.10" rand_xoshiro = "0.8"