mirror of
https://github.com/saymrwulf/cryptography.git
synced 2026-05-14 20:37:55 +00:00
See if we can always enable abi3 (#8823)
Previously it wasn't because pypy doesn't support abi3, but maybe the pyo3 feature works.
This commit is contained in:
parent
e03d583dcb
commit
bb91e8b449
3 changed files with 2 additions and 8 deletions
6
setup.py
6
setup.py
|
|
@ -54,12 +54,6 @@ try:
|
|||
"cryptography.hazmat.bindings._rust",
|
||||
"src/rust/Cargo.toml",
|
||||
py_limited_api=True,
|
||||
# Enable abi3 mode if we're not using PyPy.
|
||||
features=(
|
||||
[]
|
||||
if platform.python_implementation() == "PyPy"
|
||||
else ["pyo3/abi3-py37"]
|
||||
),
|
||||
rust_version=">=1.56.0",
|
||||
)
|
||||
],
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ rust-version = "1.56.0"
|
|||
|
||||
[dependencies]
|
||||
once_cell = "1"
|
||||
pyo3 = { version = "0.18" }
|
||||
pyo3 = { version = "0.18", features = ["abi3-py37"] }
|
||||
asn1 = { version = "0.15.0", default-features = false }
|
||||
cryptography-cffi = { path = "cryptography-cffi" }
|
||||
cryptography-x509 = { path = "cryptography-x509" }
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ publish = false
|
|||
rust-version = "1.56.0"
|
||||
|
||||
[dependencies]
|
||||
pyo3 = { version = "0.18" }
|
||||
pyo3 = { version = "0.18", features = ["abi3-py37"] }
|
||||
openssl-sys = "0.9.87"
|
||||
|
||||
[build-dependencies]
|
||||
|
|
|
|||
Loading…
Reference in a new issue