Skip to content

Commit c0af4dd

Browse files
release 46.0.3 (#13681)
* release 46.0.3 * install bindgen from cargo instead of apt (#13678) * install bindgen from cargo instead of apt this only impacts boring/aws-lc * Modify cache key format in CI workflow Updated the cache key in CI workflow to include a version suffix. --------- Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 99efe5a commit c0af4dd

File tree

8 files changed

+21
-13
lines changed

8 files changed

+21
-13
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ jobs:
4141
- {VERSION: "3.13", NOXSESSION: "tests-ssh", OPENSSL: {TYPE: "openssl", VERSION: "3.5.3"}}
4242
- {VERSION: "3.13", NOXSESSION: "rust,tests", OPENSSL: {TYPE: "libressl", VERSION: "4.0.0"}}
4343
- {VERSION: "3.13", NOXSESSION: "rust,tests", OPENSSL: {TYPE: "libressl", VERSION: "4.1.0"}}
44+
- {VERSION: "3.13", NOXSESSION: "rust,tests", OPENSSL: {TYPE: "libressl", VERSION: "4.2.0"}}
4445
# Latest commit on the BoringSSL main branch, as of Sep 16, 2025.
4546
- {VERSION: "3.13", NOXSESSION: "rust,tests", OPENSSL: {TYPE: "boringssl", VERSION: "0fc0e7afa1c997038c1dc6e0838446efe97b7f69"}}
4647
# Latest tag of AWS-LC main branch, as of Sep 14, 2025.
@@ -122,7 +123,7 @@ jobs:
122123
echo "CFLAGS=${CFLAGS} -Werror=implicit-function-declaration" >> $GITHUB_ENV
123124
echo "RUSTFLAGS=-Clink-arg=-Wl,-rpath=${OSSL_PATH}/lib -Clink-arg=-Wl,-rpath=${OSSL_PATH}/lib64" >> $GITHUB_ENV
124125
if: matrix.PYTHON.OPENSSL
125-
- run: sudo apt-get install -y bindgen
126+
- run: cargo install bindgen-cli
126127
if: matrix.PYTHON.OPENSSL.TYPE == 'boringssl' || matrix.PYTHON.OPENSSL.TYPE == 'aws-lc'
127128
- name: Cache rust and pip
128129
uses: ./.github/actions/cache
@@ -131,7 +132,7 @@ jobs:
131132
# We have both the Python version from the matrix and from the
132133
# setup-python step because the latter doesn't distinguish
133134
# pypy3-3.8 and pypy3-3.9 -- both of them show up as 7.3.11.
134-
key: ${{ matrix.PYTHON.VERSION }}-${{ steps.setup-python.outputs.python-version }}-${{ matrix.PYTHON.NOXSESSION }}-${{ env.OPENSSL_HASH }}
135+
key: "${{ matrix.PYTHON.VERSION }}-${{ steps.setup-python.outputs.python-version }}-${{ matrix.PYTHON.NOXSESSION }}-${{ env.OPENSSL_HASH }}-0"
135136

136137
- run: python -m pip install -c ci-constraints-requirements.txt 'nox[uv]' 'tomli; python_version < "3.11"'
137138
- name: Create nox environment

CHANGELOG.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
Changelog
22
=========
33

4+
.. _v46-0-3:
5+
6+
46.0.3 - 2025-10-15
7+
~~~~~~~~~~~~~~~~~~~
8+
9+
* Fixed compilation when using LibreSSL 4.2.0.
10+
411
.. _v46-0-2:
512

613
46.0.2 - 2025-09-30

Cargo.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ license = "Apache-2.0 OR BSD-3-Clause"
2424
asn1 = { version = "0.22.0", default-features = false }
2525
pyo3 = { version = "0.26", features = ["abi3"] }
2626
pyo3-build-config = { version = "0.26" }
27-
openssl = "0.10.73"
28-
openssl-sys = "0.9.108"
27+
openssl = "0.10.74"
28+
openssl-sys = "0.9.110"
2929

3030
[profile.release]
3131
overflow-checks = true

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ build-backend = "maturin"
1616

1717
[project]
1818
name = "cryptography"
19-
version = "46.0.2"
19+
version = "46.0.3"
2020
authors = [
2121
{ name = "The Python Cryptographic Authority and individual contributors", email = "[email protected]" },
2222
]
@@ -70,7 +70,7 @@ ssh = ["bcrypt >=3.1.5"]
7070
# All the following are used for our own testing.
7171
nox = ["nox[uv] >=2024.04.15"]
7272
test = [
73-
"cryptography_vectors==46.0.2",
73+
"cryptography_vectors==46.0.3",
7474
"pytest >=7.4.0",
7575
"pytest-benchmark >=4.0",
7676
"pytest-cov >=2.10.1",

src/cryptography/__about__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"__version__",
1111
]
1212

13-
__version__ = "46.0.2"
13+
__version__ = "46.0.3"
1414

1515

1616
__author__ = "The Python Cryptographic Authority and individual contributors"

vectors/cryptography_vectors/__about__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
"__version__",
77
]
88

9-
__version__ = "46.0.2"
9+
__version__ = "46.0.3"

vectors/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "uv_build"
44

55
[project]
66
name = "cryptography_vectors"
7-
version = "46.0.2"
7+
version = "46.0.3"
88
authors = [
99
{name = "The Python Cryptographic Authority and individual contributors", email = "[email protected]"}
1010
]

0 commit comments

Comments
 (0)