diff --git a/cryptography-44.0.0.tar.gz b/cryptography-44.0.0.tar.gz deleted file mode 100644 index bf19814..0000000 --- a/cryptography-44.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cd4e834f340b4293430701e772ec543b0fbe6c2dea510a5286fe0acabe153a02 -size 710657 diff --git a/cryptography-44.0.1.tar.gz b/cryptography-44.0.1.tar.gz new file mode 100644 index 0000000..0acc259 --- /dev/null +++ b/cryptography-44.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f51f5705ab27898afda1aaa430f34ad90dc117421057782022edf0600bec5f14 +size 710819 diff --git a/no-pytest_benchmark.patch b/no-pytest_benchmark.patch index e94a9d6..6a1c4e1 100644 --- a/no-pytest_benchmark.patch +++ b/no-pytest_benchmark.patch @@ -1,16 +1,17 @@ -diff -ruN cryptography-44.0.0.orig/pyproject.toml cryptography-44.0.0/pyproject.toml ---- cryptography-44.0.0.orig/pyproject.toml 2025-01-26 18:48:58.157318687 +0800 -+++ cryptography-44.0.0/pyproject.toml 2025-01-26 18:56:46.010819868 +0800 -@@ -67,8 +67,6 @@ +Index: cryptography-44.0.1/pyproject.toml +=================================================================== +--- cryptography-44.0.1.orig/pyproject.toml ++++ cryptography-44.0.1/pyproject.toml +@@ -67,8 +67,6 @@ nox = ["nox >=2024.04.15", "nox[uv] >=20 test = [ - "cryptography_vectors==44.0.0", + "cryptography_vectors==44.0.1", "pytest >=7.4.0", - "pytest-benchmark >=4.0", - "pytest-cov >=2.10.1", "pytest-xdist >=3.5.0", "pretend >=0.7", "certifi >=2024", -@@ -118,7 +116,7 @@ +@@ -118,7 +116,7 @@ exclude = [ ] [tool.pytest.ini_options] @@ -19,7 +20,7 @@ diff -ruN cryptography-44.0.0.orig/pyproject.toml cryptography-44.0.0/pyproject. console_output_style = "progress-even-when-capture-no" markers = [ "skip_fips: this test is not executed in FIPS mode", -@@ -140,33 +138,6 @@ +@@ -140,33 +138,6 @@ module = [ ] ignore_missing_imports = true @@ -53,10 +54,11 @@ diff -ruN cryptography-44.0.0.orig/pyproject.toml cryptography-44.0.0/pyproject. [tool.ruff] line-length = 79 -diff -ruN cryptography-44.0.0.orig/tests/bench/test_aead.py cryptography-44.0.0/tests/bench/test_aead.py ---- cryptography-44.0.0.orig/tests/bench/test_aead.py 2025-01-26 18:48:58.218037106 +0800 -+++ cryptography-44.0.0/tests/bench/test_aead.py 2025-01-26 18:57:45.747649958 +0800 -@@ -26,84 +26,84 @@ +Index: cryptography-44.0.1/tests/bench/test_aead.py +=================================================================== +--- cryptography-44.0.1.orig/tests/bench/test_aead.py ++++ cryptography-44.0.1/tests/bench/test_aead.py +@@ -26,84 +26,84 @@ def _aead_supported(cls): not _aead_supported(ChaCha20Poly1305), reason="Requires OpenSSL with ChaCha20Poly1305 support", ) @@ -161,9 +163,10 @@ diff -ruN cryptography-44.0.0.orig/tests/bench/test_aead.py cryptography-44.0.0/ ct = aes.encrypt(b"\x00" * 12, b"hello world plaintext", None) - benchmark(aes.decrypt, b"\x00" * 12, ct, None) + aes.decrypt(b"\x00" * 12, ct, None) -diff -ruN cryptography-44.0.0.orig/tests/bench/test_ec_load.py cryptography-44.0.0/tests/bench/test_ec_load.py ---- cryptography-44.0.0.orig/tests/bench/test_ec_load.py 2025-01-26 18:48:58.218037106 +0800 -+++ cryptography-44.0.0/tests/bench/test_ec_load.py 2025-01-26 18:57:45.748641371 +0800 +Index: cryptography-44.0.1/tests/bench/test_ec_load.py +=================================================================== +--- cryptography-44.0.1.orig/tests/bench/test_ec_load.py ++++ cryptography-44.0.1/tests/bench/test_ec_load.py @@ -5,9 +5,9 @@ from ..hazmat.primitives.fixtures_ec import EC_KEY_SECP256R1 @@ -178,9 +181,10 @@ diff -ruN cryptography-44.0.0.orig/tests/bench/test_ec_load.py cryptography-44.0 - benchmark(EC_KEY_SECP256R1.private_key) +def test_load_ec_private_numbers(): + EC_KEY_SECP256R1.private_key() -diff -ruN cryptography-44.0.0.orig/tests/bench/test_hashes.py cryptography-44.0.0/tests/bench/test_hashes.py ---- cryptography-44.0.0.orig/tests/bench/test_hashes.py 2025-01-26 18:48:58.218037106 +0800 -+++ cryptography-44.0.0/tests/bench/test_hashes.py 2025-01-26 18:57:45.748943321 +0800 +Index: cryptography-44.0.1/tests/bench/test_hashes.py +=================================================================== +--- cryptography-44.0.1.orig/tests/bench/test_hashes.py ++++ cryptography-44.0.1/tests/bench/test_hashes.py @@ -5,10 +5,10 @@ from cryptography.hazmat.primitives import hashes @@ -194,9 +198,10 @@ diff -ruN cryptography-44.0.0.orig/tests/bench/test_hashes.py cryptography-44.0. - benchmark(bench) + bench() -diff -ruN cryptography-44.0.0.orig/tests/bench/test_hmac.py cryptography-44.0.0/tests/bench/test_hmac.py ---- cryptography-44.0.0.orig/tests/bench/test_hmac.py 2025-01-26 18:48:58.218037106 +0800 -+++ cryptography-44.0.0/tests/bench/test_hmac.py 2025-01-26 18:57:45.749219559 +0800 +Index: cryptography-44.0.1/tests/bench/test_hmac.py +=================================================================== +--- cryptography-44.0.1.orig/tests/bench/test_hmac.py ++++ cryptography-44.0.1/tests/bench/test_hmac.py @@ -5,10 +5,10 @@ from cryptography.hazmat.primitives import hashes, hmac @@ -210,10 +215,11 @@ diff -ruN cryptography-44.0.0.orig/tests/bench/test_hmac.py cryptography-44.0.0/ - benchmark(bench) + bench() -diff -ruN cryptography-44.0.0.orig/tests/bench/test_x509.py cryptography-44.0.0/tests/bench/test_x509.py ---- cryptography-44.0.0.orig/tests/bench/test_x509.py 2025-01-26 18:48:58.218037106 +0800 -+++ cryptography-44.0.0/tests/bench/test_x509.py 2025-01-26 18:57:45.749471922 +0800 -@@ -13,40 +13,40 @@ +Index: cryptography-44.0.1/tests/bench/test_x509.py +=================================================================== +--- cryptography-44.0.1.orig/tests/bench/test_x509.py ++++ cryptography-44.0.1/tests/bench/test_x509.py +@@ -13,40 +13,40 @@ from cryptography import x509 from ..utils import load_vectors_from_file @@ -263,7 +269,7 @@ diff -ruN cryptography-44.0.0.orig/tests/bench/test_x509.py cryptography-44.0.0/ limbo_root = pytestconfig.getoption("--x509-limbo-root", skip=True) with open(os.path.join(limbo_root, "limbo.json"), "rb") as f: [testcase] = [ -@@ -78,4 +78,4 @@ +@@ -78,4 +78,4 @@ def test_verify_docs_python_org(benchmar ) verifier.verify(leaf, intermediates) diff --git a/python-cryptography.changes b/python-cryptography.changes index 7e9f16a..6a048a0 100644 --- a/python-cryptography.changes +++ b/python-cryptography.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed Feb 26 09:41:24 UTC 2025 - Dirk Müller + +- update to 44.0.1: + * Updated Windows, macOS, and Linux wheels to be compiled with + OpenSSL 3.4.1. + * We now build armv7l manylinux wheels and publish them to + PyPI. + * We now build manylinux_2_34 wheels and publish them to PyPI. + ------------------------------------------------------------------- Sun Jan 26 10:59:13 UTC 2025 - Soc Virnyl Estela diff --git a/python-cryptography.spec b/python-cryptography.spec index bcf0ec4..ecf0a36 100644 --- a/python-cryptography.spec +++ b/python-cryptography.spec @@ -28,7 +28,7 @@ %{?sle15_python_module_pythons} Name: python-cryptography%{psuffix} # ALWAYS KEEP IN SYNC WITH python-cryptography-vectors! -Version: 44.0.0 +Version: 44.0.1 Release: 0 Summary: Python library which exposes cryptographic recipes and primitives License: Apache-2.0 OR BSD-3-Clause diff --git a/vendor.tar.zst b/vendor.tar.zst index 673bc9c..73ebdc2 100644 --- a/vendor.tar.zst +++ b/vendor.tar.zst @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:bae449754445621c2ab723ff567651d93627864b83f132475dd62049addf6395 -size 2559391 +oid sha256:ae1991397db29db693a03f71e0bb415049274d838167769b14b8c3d0e6a79966 +size 2584479