diff --git a/crates/accelerate/Cargo.toml b/crates/accelerate/Cargo.toml index 774767484571..c63620897c03 100644 --- a/crates/accelerate/Cargo.toml +++ b/crates/accelerate/Cargo.toml @@ -26,7 +26,7 @@ rustworkx-core = "0.12" # can be done in the workspace and inherited once we hit Rust 1.64. [dependencies.pyo3] version = "0.18.3" -features = ["extension-module", "hashbrown", "indexmap", "num-complex", "num-bigint", "abi3"] +features = ["extension-module", "hashbrown", "indexmap", "num-complex", "num-bigint", "abi3-py38"] [dependencies.ndarray] version = "^0.15.6" diff --git a/crates/qasm2/Cargo.toml b/crates/qasm2/Cargo.toml index 04cd75a8f315..9d09e44659ac 100644 --- a/crates/qasm2/Cargo.toml +++ b/crates/qasm2/Cargo.toml @@ -13,4 +13,4 @@ crate-type = ["cdylib"] [dependencies] hashbrown = "0.13.2" -pyo3 = { version = "0.18.3", features = ["extension-module", "abi3"] } +pyo3 = { version = "0.18.3", features = ["extension-module", "abi3-py38"] }