diff --git a/context-py/Cargo.toml b/context-py/Cargo.toml index ece4c232..a23248f8 100644 --- a/context-py/Cargo.toml +++ b/context-py/Cargo.toml @@ -14,5 +14,5 @@ path = "bin/stub_gen.rs" [dependencies] context = { path = "../context", features = ["git-access", "pyo3"] } -pyo3 = "0.22.5" +pyo3 = { version = "0.22.5", features = ["abi3-py39", "extension-module"] } pyo3-stub-gen = "0.6.0" diff --git a/context/Cargo.toml b/context/Cargo.toml index d17ecf9c..a4d3b8d4 100644 --- a/context/Cargo.toml +++ b/context/Cargo.toml @@ -16,7 +16,10 @@ gix = { version = "0.63.0", default-features = false, features = [ ], optional = true } js-sys = { version = "0.3.70", optional = true } openssl = { version = "0.10.66", features = ["vendored"], optional = true } -pyo3 = { version = "0.22.5", optional = true } +pyo3 = { version = "0.22.5", optional = true, features = [ + "abi3-py39", + "extension-module", +] } pyo3-stub-gen = { version = "0.6.0", optional = true } quick-junit = "0.5.0" quick-xml = "0.36.2"