1
0
python-python-jose/unpin-deps.patch
Tomáš Chvátal ae214757e3 Accepting request 824502 from home:mcalabkova:branches:devel:languages:python
- Update to 3.2.0
  * This will be the last release supporting Python 2.7, 3.5, and the PyCrypto
    backend.
  * Use hmac.compare_digest instead of our own constant_time_string_compare #163
  * Fix `to_dict` output, which should always be JSON encodeable. #139 and #165
    (fixes #127 and #137)
  * Require setuptools >= 39.2.0 #167 (fixes #161)
  * Emit a warning when verifying with a private key #168 (fixes #53 and #142)
  * Avoid loading python-ecdsa when using the cryptography backend, and pinned
    python-ecdsa dependency to <0.15 #178
- Rebase patch unpin-deps.patch

OBS-URL: https://build.opensuse.org/request/show/824502
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-jose?expand=0&rev=7
2020-08-06 05:42:30 +00:00

21 lines
808 B
Diff

Index: python-jose-3.2.0/setup.py
===================================================================
--- python-jose-3.2.0.orig/setup.py
+++ python-jose-3.2.0/setup.py
@@ -35,11 +35,11 @@ def _cryptography_version():
pyasn1 = ['pyasn1']
extras_require = {
'cryptography': [_cryptography_version()],
- 'pycrypto': ['pycrypto >=2.6.0, <2.7.0'] + pyasn1,
- 'pycryptodome': ['pycryptodome >=3.3.1, <4.0.0'] + pyasn1,
+ 'pycrypto': ['pycrypto >=2.6.0'] + pyasn1,
+ 'pycryptodome': ['pycryptodome >=3.3.1'] + pyasn1,
}
-legacy_backend_requires = ['ecdsa <0.15', 'rsa'] + pyasn1
-install_requires = ['six <2.0']
+legacy_backend_requires = ['ecdsa', 'rsa'] + pyasn1
+install_requires = ['six']
# TODO: work this into the extras selection instead.
install_requires += legacy_backend_requires