Skip to content

Commit 86e6b72

Browse files
authored
Bump PyO3 to 0.24.1 and numpy to 0.24.0 (#14149)
This commit bumps the PyO3 version we use in Qiskit to the latest pyo3 release 0.24.1. Luckily this time there don't seem to be any API changes required to upgrade so it's a straight version bump.
1 parent 040c9c8 commit 86e6b72

3 files changed

Lines changed: 21 additions & 36 deletions

File tree

Cargo.lock

Lines changed: 18 additions & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ hashbrown.version = "0.15.2"
2121
num-bigint = "0.4"
2222
num-complex = "0.4"
2323
nalgebra = "0.33"
24-
numpy = "0.23"
24+
numpy = "0.24"
2525
ndarray = "0.16"
2626
smallvec = "1.14"
2727
thiserror = "2.0"
@@ -36,7 +36,7 @@ rayon = "1.10"
3636
# distributions). We only activate that feature when building the C extension module; we still need
3737
# it disabled for Rust-only tests to avoid linker errors with it not being loaded. See
3838
# https://pyo3.rs/main/features#extension-module for more.
39-
pyo3 = { version = "0.23", features = ["abi3-py39"] }
39+
pyo3 = { version = "0.24", features = ["abi3-py39"] }
4040

4141
# These are our own crates.
4242
qiskit-accelerate = { path = "crates/accelerate" }

crates/cext/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ pyo3 = { workspace = true, optional = true }
2323

2424
[build-dependencies]
2525
cbindgen = "0.28"
26-
pyo3-build-config = { version = "0.24.0", features = ["resolve-config"] }
26+
pyo3-build-config = { version = "0.24", features = ["resolve-config"] }
2727

2828
[features]
2929
default = ["cbinding"]

0 commit comments

Comments
 (0)