forked from pool/python-python-jose
- Update to 3.1.0:
* 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
This commit is contained in:
committed by
Git OBS Bridge
parent
d907e187d3
commit
63774861c2
@@ -1,29 +1,20 @@
|
||||
Index: python-jose-3.0.1/setup.py
|
||||
Index: python-jose-3.1.0/setup.py
|
||||
===================================================================
|
||||
--- python-jose-3.0.1.orig/setup.py
|
||||
+++ python-jose-3.0.1/setup.py
|
||||
@@ -23,8 +23,8 @@ def get_packages(package):
|
||||
|
||||
--- 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'],
|
||||
- 'pycrypto': ['pycrypto >=2.6.0, <2.7.0'],
|
||||
- 'pycryptodome': ['pycryptodome >=3.3.1, <4.0.0'],
|
||||
+ 'pycrypto': ['pycrypto >=2.6.0'],
|
||||
+ 'pycryptodome': ['pycryptodome >=3.3.1'],
|
||||
'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']
|
||||
|
||||
|
||||
@@ -58,12 +58,10 @@ setup(
|
||||
setup_requires=['pytest-runner'],
|
||||
tests_require=[
|
||||
'six',
|
||||
- 'future',
|
||||
'ecdsa',
|
||||
'pytest',
|
||||
- 'pytest-cov',
|
||||
'pytest-runner',
|
||||
'cryptography',
|
||||
],
|
||||
- install_requires=['six <2.0', 'ecdsa <1.0', 'rsa', 'future <1.0']
|
||||
+ install_requires=['six', 'ecdsa', 'rsa']
|
||||
)
|
||||
# TODO: work this into the extras selection instead.
|
||||
install_requires += legacy_backend_requires
|
||||
|
Reference in New Issue
Block a user