63774861c2
* Improve JWT.decode() #76 (fixes #75) * ort headers when serializing to allow for headless JWT #136 (fixes #80) * djust dependency handling * se PyCryptodome instead of PyCrypto #83 * pdate package dependencies #124 (fixes #158) * void using deprecated methods #85 * upport X509 certificates #107 * solate and flesh out cryptographic backends to enable independent operation #129 (fixes #114) * emove pyca/cryptography backend's dependency on python-ecdsa #117 * Remove pycrypto/dome backends' dependency on python-rsa #121 * Make pyca/cryptography backend the preferred backend if multiple backends are present #122 - Rebase patch unpin-deps.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-jose?expand=0&rev=5
21 lines
807 B
Diff
21 lines
807 B
Diff
Index: python-jose-3.1.0/setup.py
|
|
===================================================================
|
|
--- python-jose-3.1.0.orig/setup.py
|
|
+++ python-jose-3.1.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 <1.0', '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
|