11
0
Files
python-python-jose/unpin-deps.patch
Nico Krapp dec5834518 - Update to 3.4.0
* Remove support for Python 3.6 and 3.7
  * Added support for Python 3.10 and 3.11
  * Updating CryptographyAESKey::encrypt to generate 96 bit IVs for
    GCM block cipher mode
  * Fix for PEM key comparisons caused by line lengths and new lines
  * Fix for CVE-2024-33664 - JWE limited to 250KiB
  * Fix for CVE-2024-33663 - signing JWT with public key is now forbidden
  * Replace usage of deprecated datetime.utcnow() with datetime.now(UTC)
- Removed patches CVE-2024-33663.patch,  CVE-2024-33664.patch,
  fix-tests-ecdsa-019.patch, and unpin-deps.patch as they have been
  incorporated into release 3.4.0

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-jose?expand=0&rev=19
2025-05-07 08:13:41 +00:00

33 lines
923 B
Diff

Index: python-jose-3.3.0/setup.py
===================================================================
--- python-jose-3.3.0.orig/setup.py
+++ python-jose-3.3.0/setup.py
@@ -23,11 +23,9 @@ def get_packages(package):
pyasn1 = ["pyasn1"]
extras_require = {
"cryptography": ["cryptography>=3.4.0"],
- "pycrypto": ["pycrypto >=2.6.0, <2.7.0"] + pyasn1,
- "pycryptodome": ["pycryptodome >=3.3.1, <4.0.0"] + pyasn1,
}
# TODO: work this into the extras selection instead.
-install_requires = ["ecdsa != 0.15", "rsa"] + pyasn1
+install_requires = ["ecdsa >= 0.16", "rsa"] + pyasn1
setup(
@@ -63,14 +61,11 @@ setup(
],
extras_require=extras_require,
setup_requires=[
- "pytest-runner",
"setuptools>=39.2.0",
],
tests_require=[
"ecdsa != 0.15",
"pytest",
- "pytest-cov",
- "pytest-runner",
],
install_requires=install_requires,
)