14
0

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
This commit is contained in:
Tomáš Chvátal
2020-08-06 05:42:30 +00:00
committed by Git OBS Bridge
parent 63774861c2
commit ae214757e3
5 changed files with 24 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
Index: python-jose-3.1.0/setup.py
Index: python-jose-3.2.0/setup.py
===================================================================
--- python-jose-3.1.0.orig/setup.py
+++ python-jose-3.1.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 = {
@@ -11,7 +11,7 @@ Index: python-jose-3.1.0/setup.py
+ 'pycrypto': ['pycrypto >=2.6.0'] + pyasn1,
+ 'pycryptodome': ['pycryptodome >=3.3.1'] + pyasn1,
}
-legacy_backend_requires = ['ecdsa <1.0', 'rsa'] + pyasn1
-legacy_backend_requires = ['ecdsa <0.15', 'rsa'] + pyasn1
-install_requires = ['six <2.0']
+legacy_backend_requires = ['ecdsa', 'rsa'] + pyasn1
+install_requires = ['six']