From d1e88b3721a0a02ecbc582098ec16873d2a09124 Mon Sep 17 00:00:00 2001 From: Matthew Treinish Date: Tue, 16 May 2023 12:37:53 -0400 Subject: [PATCH] Set minimum version on abi3 flag to Python 3.8 --- crates/accelerate/Cargo.toml | 2 +- crates/qasm2/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"] }