From da943d9b56f81ca68424bb147561d22495d8d7ba Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 1 Dec 2026 17:41:35 +0000 Subject: [PATCH 1/2] 5.1.0 release Bump the version in pyproject.toml and in the extension's __version_ex__ (which bcrypt.__version__ comes from), and turn the Unreleased changelog section into 5.1.0. The changelog also gains an entry for dropping musllinux_1_1 wheels (#1125), and the Python 3.15 entries are reworded: regular 3.15 was already covered by the cp39 abi3 wheel, so the new support is for free-threaded 3.15. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_015ajQWwipx5ujEbJso4WRK7 --- CHANGELOG.rst | 12 +++++++----- pyproject.toml | 2 +- src/_bcrypt/src/lib.rs | 2 +- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 56d50efa..5784b41c 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,18 +1,20 @@ Changelog ========= -Unreleased ----------- +5.1.0 +----- * Bumped MSRV to 1.85. * Dropped support for Python 3.8. * Dropped support for free-threaded Python 3.13 (free-threaded Python 3.14 is still supported). -* Added support for Python 3.15 and free-threaded Python 3.15. -* We now publish ``abi3t`` (free-threaded stable ABI) wheels for Python 3.15, - which will also work on future free-threaded Python versions. +* Added support for free-threaded Python 3.15. We now publish ``abi3t`` + (free-threaded stable ABI) wheels for it, which will also work on future + free-threaded Python versions. * Added support for PyPy 3.12 and dropped support for PyPy 3.11. We now publish PyPy 3.12 ``manylinux`` wheels instead of PyPy 3.11 ones. +* We no longer publish ``musllinux_1_1`` wheels; ``musllinux_1_2`` wheels + continue to be published. * Dropped support for macOS on x86-64 (Intel). macOS wheels are now built for arm64 only, with a minimum macOS version of 11.0. diff --git a/pyproject.toml b/pyproject.toml index 9747a635..12009933 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,7 @@ build-backend = "setuptools.build_meta" [project] name = "bcrypt" # When updating this, also update lib.rs -version = "5.0.0" +version = "5.1.0" authors = [ {name = "The Python Cryptographic Authority developers", email = "cryptography-dev@python.org"} ] diff --git a/src/_bcrypt/src/lib.rs b/src/_bcrypt/src/lib.rs index 7cd16658..ec8c5abb 100644 --- a/src/_bcrypt/src/lib.rs +++ b/src/_bcrypt/src/lib.rs @@ -212,7 +212,7 @@ mod _bcrypt { // 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__", "5.0.0")?; + m.add("__version_ex__", "5.1.0")?; let author = "The Python Cryptographic Authority developers"; m.add("__author__", author)?; From 2ceef87fa178824e1d1d1511c3bd783bfc20524b Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 1 Dec 2026 17:54:19 +0000 Subject: [PATCH 2/2] Update the remaining MSRV references to 1.85 The setuptools-rust rust-version spec in pyproject.toml still said >=1.64.0 and the README said 1.74.0, while Cargo.toml and the CI MSRV job are on 1.85. With the old spec, a Rust between 1.64 and 1.84 got past setuptools-rust's version check and only failed later in cargo, instead of getting setuptools-rust's clear "does not match extension requirement" error. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_015ajQWwipx5ujEbJso4WRK7 --- README.rst | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 61233af0..e71eb960 100644 --- a/README.rst +++ b/README.rst @@ -22,7 +22,7 @@ To install bcrypt, simply: $ pip install bcrypt Note that bcrypt should build very easily on Linux provided you have a C -compiler and a Rust compiler (the minimum supported Rust version is 1.74.0). +compiler and a Rust compiler (the minimum supported Rust version is 1.85.0). For Debian and Ubuntu, the following command will ensure that the required dependencies are installed: diff --git a/pyproject.toml b/pyproject.toml index 12009933..ed460e5c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -54,7 +54,7 @@ typecheck = ["mypy"] target = "bcrypt._bcrypt" path = "src/_bcrypt/Cargo.toml" py-limited-api = "auto" -rust-version = ">=1.64.0" +rust-version = ">=1.85.0" [tool.ruff] line-length = 79