Skip to content

Commit 9a3cdb5

Browse files
authored
43.0.2 release: fix libressl 4.0.0 (#11796)
* 43.0.2 release: fix libressl 4.0.0 * Resolve clippy warnings from nightly (#11695) * backlist some setuptools versions
1 parent a773387 commit 9a3cdb5

File tree

9 files changed

+23
-15
lines changed

9 files changed

+23
-15
lines changed

.github/workflows/ci.yml

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ jobs:
4242
- {VERSION: "3.12", NOXSESSION: "tests", NOXARGS: "--enable-fips=1", OPENSSL: {TYPE: "openssl", CONFIG_FLAGS: "enable-fips", VERSION: "3.2.2"}}
4343
- {VERSION: "3.12", NOXSESSION: "rust,tests", OPENSSL: {TYPE: "libressl", VERSION: "3.8.4"}}
4444
- {VERSION: "3.12", NOXSESSION: "rust,tests", OPENSSL: {TYPE: "libressl", VERSION: "3.9.2"}}
45+
- {VERSION: "3.12", NOXSESSION: "rust,tests", OPENSSL: {TYPE: "libressl", VERSION: "4.0.0"}}
4546
- {VERSION: "3.12", NOXSESSION: "tests-randomorder"}
4647
# Latest commit on the BoringSSL master branch, as of Jul 18, 2024.
4748
- {VERSION: "3.12", NOXSESSION: "rust,tests", OPENSSL: {TYPE: "boringssl", VERSION: "82f9853fc7d7360ae44f1e1357a6422c5244bbd8"}}

CHANGELOG.rst

+7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
Changelog
22
=========
33

4+
.. _v43-0-2:
5+
6+
43.0.2 - 2024-10-18
7+
~~~~~~~~~~~~~~~~~~~
8+
9+
* Fixed compilation when using LibreSSL 4.0.0.
10+
411
.. _v43-0-1:
512

613
43.0.1 - 2024-09-03

pyproject.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ requires = [
88
"cffi>=1.12; platform_python_implementation != 'PyPy'",
99
# Needed because cffi imports distutils, and in Python 3.12, distutils has
1010
# been removed from the stdlib, but installing setuptools puts it back.
11-
"setuptools!=74.0.0,!=74.1.0,!=74.1.1",
11+
"setuptools!=74.0.0,!=74.1.0,!=74.1.1,!=74.1.2,!=74.1.3,!=75.0.0,!=75.1.0,!=75.2.0",
1212
]
1313
build-backend = "maturin"
1414

1515
[project]
1616
name = "cryptography"
17-
version = "43.0.1"
17+
version = "43.0.2"
1818
authors = [
1919
{name = "The Python Cryptographic Authority and individual contributors", email = "[email protected]"}
2020
]
@@ -64,7 +64,7 @@ ssh = ["bcrypt >=3.1.5"]
6464
# All the following are used for our own testing.
6565
nox = ["nox"]
6666
test = [
67-
"cryptography_vectors==43.0.1",
67+
"cryptography_vectors==43.0.2",
6868
"pytest >=6.2.0",
6969
"pytest-benchmark",
7070
"pytest-cov",

src/cryptography/__about__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"__version__",
1111
]
1212

13-
__version__ = "43.0.1"
13+
__version__ = "43.0.2"
1414

1515

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

src/rust/Cargo.lock

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/rust/cryptography-x509/src/common.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ impl<'a> asn1::Asn1Readable<'a> for RawTlv<'a> {
198198
true
199199
}
200200
}
201-
impl<'a> asn1::Asn1Writable for RawTlv<'a> {
201+
impl asn1::Asn1Writable for RawTlv<'_> {
202202
fn write(&self, w: &mut asn1::Writer<'_>) -> asn1::WriteResult {
203203
w.write_tlv(self.tag, move |dest| dest.push_slice(self.value))
204204
}
@@ -471,7 +471,7 @@ impl<'a> asn1::SimpleAsn1Readable<'a> for UnvalidatedVisibleString<'a> {
471471
}
472472
}
473473

474-
impl<'a> asn1::SimpleAsn1Writable for UnvalidatedVisibleString<'a> {
474+
impl asn1::SimpleAsn1Writable for UnvalidatedVisibleString<'_> {
475475
const TAG: asn1::Tag = asn1::VisibleString::TAG;
476476
fn write_data(&self, _: &mut asn1::WriteBuf) -> asn1::WriteResult {
477477
unimplemented!();
@@ -487,7 +487,7 @@ impl<'a> Utf8StoredBMPString<'a> {
487487
}
488488
}
489489

490-
impl<'a> asn1::SimpleAsn1Writable for Utf8StoredBMPString<'a> {
490+
impl asn1::SimpleAsn1Writable for Utf8StoredBMPString<'_> {
491491
const TAG: asn1::Tag = asn1::BMPString::TAG;
492492
fn write_data(&self, writer: &mut asn1::WriteBuf) -> asn1::WriteResult {
493493
for ch in self.0.encode_utf16() {
@@ -531,7 +531,7 @@ impl<'a, T: asn1::Asn1Readable<'a>> asn1::Asn1Readable<'a> for WithTlv<'a, T> {
531531
}
532532
}
533533

534-
impl<'a, T: asn1::Asn1Writable> asn1::Asn1Writable for WithTlv<'a, T> {
534+
impl<T: asn1::Asn1Writable> asn1::Asn1Writable for WithTlv<'_, T> {
535535
fn write(&self, w: &mut asn1::Writer<'_>) -> asn1::WriteResult<()> {
536536
self.value.write(w)
537537
}

src/rust/cryptography-x509/src/name.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ impl<'a> asn1::SimpleAsn1Readable<'a> for UnvalidatedIA5String<'a> {
3535
}
3636
}
3737

38-
impl<'a> asn1::SimpleAsn1Writable for UnvalidatedIA5String<'a> {
38+
impl asn1::SimpleAsn1Writable for UnvalidatedIA5String<'_> {
3939
const TAG: asn1::Tag = asn1::IA5String::TAG;
4040
fn write_data(&self, dest: &mut asn1::WriteBuf) -> asn1::WriteResult {
4141
dest.push_slice(self.0.as_bytes())

vectors/cryptography_vectors/__about__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
"__version__",
77
]
88

9-
__version__ = "43.0.1"
9+
__version__ = "43.0.2"

vectors/pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "flit_core.buildapi"
44

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

0 commit comments

Comments
 (0)