Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-PyJWT for openSUSE:Factory checked in at 2021-02-04 20:23:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-PyJWT (Old) and /work/SRC/openSUSE:Factory/.python-PyJWT.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-PyJWT" Thu Feb 4 20:23:10 2021 rev:21 rq:868465 version:2.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-PyJWT/python-PyJWT.changes 2019-11-04 17:07:40.116342035 +0100 +++ /work/SRC/openSUSE:Factory/.python-PyJWT.new.28504/python-PyJWT.changes 2021-02-04 20:23:57.710815999 +0100 @@ -1,0 +2,18 @@ +Mon Feb 1 20:52:39 UTC 2021 - Dirk M??ller <dmuel...@suse.com> + +- update to 2.0.1: + * Drop support for Python 2 and Python 3.0-3.5 + * Require cryptography >= 3 + * Drop support for PyCrypto and ECDSA + * Drop CLI + * Improve typings + * Dropped deprecated errors + * Dropped deprecated ``verify_expiration`` param in ``jwt.decode(...)`` + * Dropped deprecated ``verify`` param in ``jwt.decode(...)`` + * Require explicit ``algorithms`` in ``jwt.decode(...)`` by default + * Dropped deprecated ``require_*`` options in ``jwt.decode(...)`` + * Introduce better experience for JWKs + * further details see included CHANGELOG.rst +- drop 0001-Catch-BadSignatureError-raised-by-ecdsa-0.13.3.patch (obsolete) + +------------------------------------------------------------------- Old: ---- 0001-Catch-BadSignatureError-raised-by-ecdsa-0.13.3.patch PyJWT-1.7.1.tar.gz New: ---- PyJWT-2.0.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-PyJWT.spec ++++++ --- /var/tmp/diff_new_pack.1urY5j/_old 2021-02-04 20:23:58.178816712 +0100 +++ /var/tmp/diff_new_pack.1urY5j/_new 2021-02-04 20:23:58.182816718 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-PyJWT # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,24 +17,21 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%global skip_python2 1 Name: python-PyJWT -Version: 1.7.1 +Version: 2.0.1 Release: 0 Summary: JSON Web Token implementation in Python License: MIT Group: Development/Languages/Python URL: https://github.com/progrium/pyjwt Source: https://files.pythonhosted.org/packages/source/P/PyJWT/PyJWT-%{version}.tar.gz -# PATCH-FIX-UPSTREAM https://github.com/jpadilla/pyjwt/pull/448.patch -Patch0: 0001-Catch-BadSignatureError-raised-by-ecdsa-0.13.3.patch -BuildRequires: %{python_module cryptography >= 1.4} -BuildRequires: %{python_module ecdsa} +BuildRequires: %{python_module cryptography >= 3.3.1} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-cryptography >= 1.4 -Requires: python-ecdsa +Requires: python-cryptography >= 3.3.1 Requires: python-setuptools Requires(post): update-alternatives Requires(postun): update-alternatives @@ -46,7 +43,6 @@ %prep %setup -q -n PyJWT-%{version} -%patch0 -p1 %build %python_build @@ -56,21 +52,13 @@ %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%python_clone -a %{buildroot}%{_bindir}/pyjwt - -%post -%python_install_alternative pyjwt - -%postun -%python_uninstall_alternative pyjwt %check %python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -o addopts="" -k "not test_verify_false_deprecated" %files %{python_files} %license LICENSE -%doc AUTHORS CHANGELOG.md README.rst +%doc AUTHORS.rst CHANGELOG.rst README.rst %{python_sitelib}/* -%python_alternative %{_bindir}/pyjwt %changelog ++++++ PyJWT-1.7.1.tar.gz -> PyJWT-2.0.1.tar.gz ++++++ ++++ 8850 lines of diff (skipped)