Skip to content

Commit

Permalink
Always enable the abi3 feature (#680)
Browse files Browse the repository at this point in the history
  • Loading branch information
alex authored Nov 27, 2023
1 parent f787097 commit 6b35bd3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,6 @@
"bcrypt._bcrypt",
"src/_bcrypt/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.64.0"
if os.environ.get("BCRYPT_ALLOW_RUST_163", "0") != "0"
Expand Down
2 changes: 1 addition & 1 deletion src/_bcrypt/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2018"
publish = false

[dependencies]
pyo3 = { version = "0.20.0" }
pyo3 = { version = "0.20.0", features = ["abi3-py37"] }
bcrypt = "0.15"
bcrypt-pbkdf = "0.10.0"
base64 = "0.21.5"
Expand Down

0 comments on commit 6b35bd3

Please sign in to comment.