Sync from SUSE:SLFO:Main python-cryptography revision 5c1ed193f04e66479840c96cab7736f7
This commit is contained in:
BIN
cryptography-44.0.0.tar.gz
(Stored with Git LFS)
BIN
cryptography-44.0.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
cryptography-44.0.2.tar.gz
(Stored with Git LFS)
Normal file
BIN
cryptography-44.0.2.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -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.2/pyproject.toml
|
||||
===================================================================
|
||||
--- cryptography-44.0.2.orig/pyproject.toml
|
||||
+++ cryptography-44.0.2/pyproject.toml
|
||||
@@ -67,8 +67,6 @@ nox = ["nox >=2024.04.15", "nox[uv] >=20
|
||||
test = [
|
||||
"cryptography_vectors==44.0.0",
|
||||
"cryptography_vectors==44.0.2",
|
||||
"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.2/tests/bench/test_aead.py
|
||||
===================================================================
|
||||
--- cryptography-44.0.2.orig/tests/bench/test_aead.py
|
||||
+++ cryptography-44.0.2/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.2/tests/bench/test_ec_load.py
|
||||
===================================================================
|
||||
--- cryptography-44.0.2.orig/tests/bench/test_ec_load.py
|
||||
+++ cryptography-44.0.2/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.2/tests/bench/test_hashes.py
|
||||
===================================================================
|
||||
--- cryptography-44.0.2.orig/tests/bench/test_hashes.py
|
||||
+++ cryptography-44.0.2/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.2/tests/bench/test_hmac.py
|
||||
===================================================================
|
||||
--- cryptography-44.0.2.orig/tests/bench/test_hmac.py
|
||||
+++ cryptography-44.0.2/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.2/tests/bench/test_x509.py
|
||||
===================================================================
|
||||
--- cryptography-44.0.2.orig/tests/bench/test_x509.py
|
||||
+++ cryptography-44.0.2/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)
|
||||
|
||||
|
@@ -1,3 +1,19 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 23 21:40:26 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 44.0.2:
|
||||
* We now build wheels for PyPy 3.11.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 26 09:41:24 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- 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 <uncomfyhalomacro@opensuse.org>
|
||||
|
||||
|
@@ -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.2
|
||||
Release: 0
|
||||
Summary: Python library which exposes cryptographic recipes and primitives
|
||||
License: Apache-2.0 OR BSD-3-Clause
|
||||
|
BIN
vendor.tar.zst
(Stored with Git LFS)
BIN
vendor.tar.zst
(Stored with Git LFS)
Binary file not shown.
Reference in New Issue
Block a user