Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 4 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -286,16 +286,16 @@ jobs:
fail-fast: false
matrix:
RUNNER:
- {OS: 'macos-13', ARCH: 'x86_64'}
- {OS: 'macos-14', ARCH: 'arm64'}
- {OS: 'macos-15-intel', ARCH: 'x86_64'}
- {OS: 'macos-15', ARCH: 'arm64'}
PYTHON:
- {VERSION: "3.8", NOXSESSION: "tests"}
- {VERSION: "3.13", NOXSESSION: "tests"}
- {VERSION: "3.14t-dev", NOXSESSION: "tests"}
- {VERSION: "3.14t", NOXSESSION: "tests"}
exclude:
# We only test latest Python on arm64. py38 won't work since there's no universal2 binary
- PYTHON: {VERSION: "3.8", NOXSESSION: "tests"}
RUNNER: {OS: 'macos-14', ARCH: 'arm64'}
RUNNER: {OS: 'macos-15', ARCH: 'arm64'}
timeout-minutes: 15
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
Expand Down Expand Up @@ -361,11 +361,6 @@ jobs:
- {VERSION: "3.8", NOXSESSION: "tests-nocoverage"}
- {VERSION: "3.13", NOXSESSION: "tests"}
- {VERSION: "3.14t-dev", NOXSESSION: "tests"}
include:
# Not in the main matrix because we want tests-nocoverage on Python
# 3.13
- PYTHON: {VERSION: "3.13", NOXSESSION: "tests-nocoverage"}
WINDOWS: {ARCH: 'arm64', WINDOWS: 'arm64', RUNNER: 'windows-11-arm'}
timeout-minutes: 15
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
Expand Down
28 changes: 7 additions & 21 deletions .github/workflows/wheel-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ jobs:

macos:
needs: [sdist]
runs-on: macos-13
runs-on: macos-15
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -214,16 +214,11 @@ jobs:
# This will change in the future as we change the base Python we
# build against
_PYTHON_HOST_PLATFORM: 'macosx-10.9-universal2'
- VERSION: 'pypy-3.10'
BIN_PATH: 'pypy3'
DEPLOYMENT_TARGET: '10.13'
_PYTHON_HOST_PLATFORM: 'macosx-10.9-x86_64'
ARCHFLAGS: '-arch x86_64'
- VERSION: 'pypy-3.11'
BIN_PATH: 'pypy3'
DEPLOYMENT_TARGET: '10.13'
_PYTHON_HOST_PLATFORM: 'macosx-10.9-x86_64'
ARCHFLAGS: '-arch x86_64'
DEPLOYMENT_TARGET: '11.0'
_PYTHON_HOST_PLATFORM: 'macosx-11.0-arm64'
ARCHFLAGS: '-arch arm64'
name: "${{ matrix.PYTHON.VERSION }} ABI ${{ matrix.PYTHON.ABI_VERSION }} macOS ${{ matrix.PYTHON.ARCHFLAGS }}"
steps:
- name: Get build-requirements.txt from repository
Expand Down Expand Up @@ -268,8 +263,8 @@ jobs:
- uses: dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9
with:
toolchain: stable
# Add the arm64 target in addition to the native arch (x86_64)
target: aarch64-apple-darwin
# Add the x86-64 target in addition to the native arch (arm64)
target: x86_64-apple-darwin
- uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
with:
name: cryptography-sdist
Expand Down Expand Up @@ -321,23 +316,14 @@ jobs:
WINDOWS:
- {ARCH: 'x86', WINDOWS: 'win32', RUST_TRIPLE: 'i686-pc-windows-msvc', RUNNER: 'windows-latest'}
- {ARCH: 'x64', WINDOWS: 'win64', RUST_TRIPLE: 'x86_64-pc-windows-msvc', RUNNER: 'windows-latest'}
- {ARCH: 'arm64', WINDOWS: 'arm64', RUST_TRIPLE: 'aarch64-pc-windows-msvc', RUNNER: 'windows-11-arm'}
PYTHON:
- {VERSION: "3.11", "ABI_VERSION": "py38"}
- {VERSION: "3.11", "ABI_VERSION": "py311"}
- {VERSION: "3.14t-dev"}
- {VERSION: "pypy-3.10"}
- {VERSION: "3.14t"}
- {VERSION: "pypy-3.11"}
exclude:
# We need to exclude the below configuration because there is no 32-bit pypy3
- WINDOWS: {ARCH: 'x86', WINDOWS: 'win32', RUST_TRIPLE: 'i686-pc-windows-msvc'}
PYTHON: {VERSION: "pypy-3.10"}
- WINDOWS: {ARCH: 'x86', WINDOWS: 'win32', RUST_TRIPLE: 'i686-pc-windows-msvc'}
PYTHON: {VERSION: "pypy-3.11"}
# We need to exclude the below configuration because there is no ARM64 pypy3
- WINDOWS: {ARCH: 'arm64', WINDOWS: 'arm64', RUST_TRIPLE: 'aarch64-pc-windows-msvc', RUNNER: 'windows-11-arm'}
PYTHON: {VERSION: "pypy-3.10"}
- WINDOWS: {ARCH: 'arm64', WINDOWS: 'arm64', RUST_TRIPLE: 'aarch64-pc-windows-msvc', RUNNER: 'windows-11-arm'}
PYTHON: {VERSION: "pypy-3.11"}
name: "${{ matrix.PYTHON.VERSION }} ${{ matrix.WINDOWS.WINDOWS }} ${{ matrix.PYTHON.ABI_VERSION }}"
steps:
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
Changelog
=========

.. v46-0-4:

46.0.4 - 2026-01-27
~~~~~~~~~~~~~~~~~~~

* `Dropped support for win_arm64 wheels`_.
* Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.5.4.

.. _v46-0-3:

46.0.3 - 2025-10-15
Expand Down Expand Up @@ -2763,3 +2771,4 @@ Changelog
.. _`main`: https://github.com/pyca/cryptography/
.. _`cffi`: https://cffi.readthedocs.io/
.. _`aws-lc`: https://github.com/aws/aws-lc
.. _`Dropped support for win_arm64 wheels`: https://github.com/pyca/cryptography/pull/14216
1 change: 0 additions & 1 deletion docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ operating systems.
Sid (unstable)
* x86-64 and ARM64 Alpine (latest)
* 32-bit and 64-bit Python on 64-bit Windows Server 2022
* ARM64 Windows 11

We test compiling with ``clang`` as well as ``gcc`` and use the following
OpenSSL releases in addition to distribution provided releases from the
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ build-backend = "maturin"

[project]
name = "cryptography"
version = "46.0.3"
version = "46.0.4"
authors = [
{ name = "The Python Cryptographic Authority and individual contributors", email = "cryptography-dev@python.org" },
]
Expand Down Expand Up @@ -70,7 +70,7 @@ ssh = ["bcrypt >=3.1.5"]
# All the following are used for our own testing.
nox = ["nox[uv] >=2024.04.15"]
test = [
"cryptography_vectors==46.0.3",
"cryptography_vectors==46.0.4",
"pytest >=7.4.0",
"pytest-benchmark >=4.0",
"pytest-cov >=2.10.1",
Expand Down
2 changes: 1 addition & 1 deletion src/cryptography/__about__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"__version__",
]

__version__ = "46.0.3"
__version__ = "46.0.4"


__author__ = "The Python Cryptographic Authority and individual contributors"
Expand Down
2 changes: 1 addition & 1 deletion vectors/cryptography_vectors/__about__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
"__version__",
]

__version__ = "46.0.3"
__version__ = "46.0.4"
2 changes: 1 addition & 1 deletion vectors/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "uv_build"

[project]
name = "cryptography_vectors"
version = "46.0.3"
version = "46.0.4"
authors = [
{name = "The Python Cryptographic Authority and individual contributors", email = "cryptography-dev@python.org"}
]
Expand Down
Loading