Skip to content

Commit

Permalink
Fixed wheels for older versions of macOS
Browse files Browse the repository at this point in the history
fixes #686
fixes #685
  • Loading branch information
alex committed Nov 30, 2023
1 parent 1a41437 commit 1ee99b3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/wheel-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ jobs:
venv/bin/python -m pip wheel -v $PY_LIMITED_API bcrypt*.tar.gz -w dist/ && mv dist/bcrypt*.whl wheelhouse
env:
PYTHON_VERSION: ${{ matrix.PYTHON.ABI_VERSION }}
DEPLOYMENT_TARGET: '10.12'
MACOSX_DEPLOYMENT_TARGET: '10.12'
ARCHFLAGS: '-arch arm64 -arch x86_64'
_PYTHON_HOST_PLATFORM: 'macosx-10.9-universal2'
- run: venv/bin/pip install -f wheelhouse --no-index bcrypt
Expand Down
5 changes: 5 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ While bcrypt remains an acceptable choice for password storage, depending on you
Changelog
=========

4.1.2
-----

* Fixed wheels for older versions of macOS.

4.1.1
-----

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "bcrypt"
# When updating this, also update lib.rs
version = "4.1.1"
version = "4.1.2"
authors = [
{name = "The Python Cryptographic Authority developers", email = "cryptography-dev@python.org"}
]
Expand Down
2 changes: 1 addition & 1 deletion src/_bcrypt/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ fn _bcrypt(_py: pyo3::Python<'_>, m: &pyo3::types::PyModule) -> pyo3::PyResult<(
// When updating this, also update pyproject.toml
// This isn't named __version__ because passlib treats the existence of
// that attribute as proof that we're a different module
m.add("__version_ex__", "4.1.1")?;
m.add("__version_ex__", "4.1.2")?;

let author = "The Python Cryptographic Authority developers";
m.add("__author__", author)?;
Expand Down

0 comments on commit 1ee99b3

Please sign in to comment.