Drop PyPy 3.11 wheels and build abi3-py312 wheels (#16079) * Drop PyPy 3.11 wheels and build abi3-py312 wheels PyPy 3.12 can use abi3-py312 wheels, so build those on Linux, macOS, and Windows x64 in place of the version-specific PyPy 3.11 wheels. PyPy 3.11 users can still install from the sdist. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015ajQWvyaSSTgMmD6motQ35 * Revert windows-wheel action description changes Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015ajQWvyaSSTgMmD6motQ35 * Restore windows-wheel action.yml to match base Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015ajQWvyaSSTgMmD6motQ35 --------- Co-authored-by: Claude <noreply@anthropic.com>
diff --git a/.github/workflows/wheel-builder.yml b/.github/workflows/wheel-builder.yml index 67c0670..408ec52 100644 --- a/.github/workflows/wheel-builder.yml +++ b/.github/workflows/wheel-builder.yml
@@ -73,9 +73,9 @@ PYTHON: - { VERSION: "cp311-cp311", ABI_VERSION: 'abi3-py39' } - { VERSION: "cp311-cp311", ABI_VERSION: 'abi3-py311' } + - { VERSION: "cp312-cp312", ABI_VERSION: 'abi3-py312' } - { VERSION: "cp314-cp314t" } - { VERSION: "cp315-cp315t", ABI_VERSION: 'abi3t-py315' } - - { VERSION: "pp311-pypy311_pp73" } MANYLINUX: - { NAME: "manylinux2014_x86_64", CONTAINER: "cryptography-manylinux2014:x86_64", RUNNER: "ubuntu-latest" } - { NAME: "manylinux_2_28_x86_64", CONTAINER: "cryptography-manylinux_2_28:x86_64", RUNNER: "ubuntu-latest"} @@ -92,29 +92,6 @@ - { NAME: "manylinux_2_28_ppc64le", CONTAINER: "cryptography-manylinux_2_28:ppc64le", RUNNER: "ubuntu-24.04-ppc64le-p10" } - { NAME: "manylinux_2_34_ppc64le", CONTAINER: "cryptography-manylinux_2_34:ppc64le", RUNNER: "ubuntu-24.04-ppc64le-p10" } - exclude: - # There are no readily available musllinux PyPy distributions - - PYTHON: { VERSION: "pp311-pypy311_pp73" } - MANYLINUX: { NAME: "musllinux_1_2_x86_64", CONTAINER: "cryptography-musllinux_1_2:x86_64", RUNNER: "ubuntu-latest"} - - PYTHON: { VERSION: "pp311-pypy311_pp73" } - MANYLINUX: { NAME: "musllinux_1_2_aarch64", CONTAINER: "cryptography-musllinux_1_2:aarch64", RUNNER: "ubuntu-24.04-arm" } - - # We also don't build pypy wheels for anything except the latest manylinux - - PYTHON: { VERSION: "pp311-pypy311_pp73" } - MANYLINUX: { NAME: "manylinux2014_x86_64", CONTAINER: "cryptography-manylinux2014:x86_64", RUNNER: "ubuntu-latest"} - - PYTHON: { VERSION: "pp311-pypy311_pp73" } - MANYLINUX: { NAME: "manylinux2014_aarch64", CONTAINER: "cryptography-manylinux2014_aarch64", RUNNER: "ubuntu-24.04-arm" } - - # No PyPy on armv7l either - - PYTHON: { VERSION: "pp311-pypy311_pp73" } - MANYLINUX: { NAME: "manylinux_2_31_armv7l", CONTAINER: "cryptography-manylinux_2_31:armv7l", RUNNER: "ubuntu-24.04-arm" } - - # No PyPy on ppc64le - - PYTHON: { VERSION: "pp311-pypy311_pp73" } - MANYLINUX: { NAME: "manylinux_2_34_ppc64le", CONTAINER: "cryptography-manylinux_2_34:ppc64le", RUNNER: "ubuntu-24.04-ppc64le-p10" } - - PYTHON: { VERSION: "pp311-pypy311_pp73" } - MANYLINUX: { NAME: "manylinux_2_28_ppc64le", CONTAINER: "cryptography-manylinux_2_28:ppc64le", RUNNER: "ubuntu-24.04-ppc64le-p10" } - name: "${{ matrix.PYTHON.VERSION }} for ${{ matrix.MANYLINUX.NAME }}" steps: - name: Ridiculous-er workaround for static node @@ -190,9 +167,9 @@ PYTHON: - {VERSION: '3.14', ABI_VERSION: 'abi3-py39'} - {VERSION: '3.14', ABI_VERSION: 'abi3-py311'} + - {VERSION: '3.14', ABI_VERSION: 'abi3-py312'} - {VERSION: '3.14t'} - {VERSION: '3.15t', ABI_VERSION: 'abi3t-py315'} - - {VERSION: 'pypy3.11'} name: "${{ matrix.PYTHON.VERSION }} ABI ${{ matrix.PYTHON.ABI_VERSION }} macOS -arch arm64" # Always build with uv's python-build-standalone interpreter, not # whichever Python the runner image happens to ship. @@ -272,9 +249,9 @@ PYTHON: - {VERSION: "3.14", "ABI_VERSION": "abi3-py39"} - {VERSION: "3.14", "ABI_VERSION": "abi3-py311"} + - {VERSION: "3.14", "ABI_VERSION": "abi3-py312"} - {VERSION: "3.14t"} - {VERSION: "3.15t", "ABI_VERSION": "abi3t-py315"} - - {VERSION: "pypy3.11"} include: - WINDOWS: {ARCH: 'arm64', WINDOWS: 'arm64', RUST_TRIPLE: 'aarch64-pc-windows-msvc', RUNNER: 'windows-11-arm'} PYTHON: {VERSION: "3.14", "ABI_VERSION": "abi3-py311"}
diff --git a/CHANGELOG.rst b/CHANGELOG.rst index e65aca8..6610f32 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst
@@ -8,6 +8,8 @@ .. note:: This version is not yet released and is under active development. +* We no longer publish wheels for PyPy 3.11; it can still be installed from + source. We now publish ``abi3-py312`` wheels, which support PyPy 3.12. * Added :class:`~cryptography.hazmat.primitives.asymmetric.ec.BrainpoolP224R1`, a Brainpool curve specified in :rfc:`5639`. * Added :class:`~cryptography.hazmat.primitives.asymmetric.ec.BrainpoolP320R1`,