diff --git a/python-jose-3.1.0.tar.gz b/python-jose-3.1.0.tar.gz deleted file mode 100644 index 014b56c..0000000 --- a/python-jose-3.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:73699139ecd3d28e44488ddfd22fc0f89598b793e0dc8bc7ebe8701837d4fbda -size 101693 diff --git a/python-jose-3.2.0.tar.gz b/python-jose-3.2.0.tar.gz new file mode 100644 index 0000000..29278ce --- /dev/null +++ b/python-jose-3.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2bcdae15bef4bc22c35edae9bda0fec1c42769e96cef680c76e165ac5bbf3cd5 +size 102183 diff --git a/python-python-jose.changes b/python-python-jose.changes index 6bb4e48..245f3f8 100644 --- a/python-python-jose.changes +++ b/python-python-jose.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Wed Aug 5 12:58:25 UTC 2020 - Marketa Calabkova + +- 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 + ------------------------------------------------------------------- Tue Mar 10 09:47:42 UTC 2020 - Tomáš Chvátal diff --git a/python-python-jose.spec b/python-python-jose.spec index 9eab8b7..249f32e 100644 --- a/python-python-jose.spec +++ b/python-python-jose.spec @@ -18,14 +18,14 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-python-jose -Version: 3.1.0 +Version: 3.2.0 Release: 0 Summary: JOSE implementation in Python License: MIT URL: https://github.com/mpdavis/python-jose Source: https://github.com/mpdavis/python-jose/archive/%{version}.tar.gz#/python-jose-%{version}.tar.gz Patch0: unpin-deps.patch -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module setuptools >= 39.2.0} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-six diff --git a/unpin-deps.patch b/unpin-deps.patch index d8d63ac..6f62409 100644 --- a/unpin-deps.patch +++ b/unpin-deps.patch @@ -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']