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,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:73699139ecd3d28e44488ddfd22fc0f89598b793e0dc8bc7ebe8701837d4fbda
size 101693

3
python-jose-3.2.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2bcdae15bef4bc22c35edae9bda0fec1c42769e96cef680c76e165ac5bbf3cd5
size 102183

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Wed Aug 5 12:58:25 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- 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 <tchvatal@suse.com> Tue Mar 10 09:47:42 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -18,14 +18,14 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-python-jose Name: python-python-jose
Version: 3.1.0 Version: 3.2.0
Release: 0 Release: 0
Summary: JOSE implementation in Python Summary: JOSE implementation in Python
License: MIT License: MIT
URL: https://github.com/mpdavis/python-jose URL: https://github.com/mpdavis/python-jose
Source: https://github.com/mpdavis/python-jose/archive/%{version}.tar.gz#/python-jose-%{version}.tar.gz Source: https://github.com/mpdavis/python-jose/archive/%{version}.tar.gz#/python-jose-%{version}.tar.gz
Patch0: unpin-deps.patch Patch0: unpin-deps.patch
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools >= 39.2.0}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-six Requires: python-six

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.2.0.orig/setup.py
+++ python-jose-3.1.0/setup.py +++ python-jose-3.2.0/setup.py
@@ -35,11 +35,11 @@ def _cryptography_version(): @@ -35,11 +35,11 @@ def _cryptography_version():
pyasn1 = ['pyasn1'] pyasn1 = ['pyasn1']
extras_require = { extras_require = {
@ -11,7 +11,7 @@ Index: python-jose-3.1.0/setup.py
+ 'pycrypto': ['pycrypto >=2.6.0'] + pyasn1, + 'pycrypto': ['pycrypto >=2.6.0'] + pyasn1,
+ 'pycryptodome': ['pycryptodome >=3.3.1'] + 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'] -install_requires = ['six <2.0']
+legacy_backend_requires = ['ecdsa', 'rsa'] + pyasn1 +legacy_backend_requires = ['ecdsa', 'rsa'] + pyasn1
+install_requires = ['six'] +install_requires = ['six']