From 8d0b5e0cdeb85168bad44a6b18e98a605266eae8a7236156affef039698b6154 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 28 Oct 2022 20:25:30 +0000 Subject: [PATCH 1/2] Accepting request 1031634 from home:yarunachalam:branches:devel:languages:python - Update to 2.6.0 Changed * bump up cryptography >= 3.4.0 by @jpadilla in #807 * Remove types-cryptography from crypto extra by @lautat in #805 Fixed * Invalidate token on the exact second the token expires #797 * fix: version 2.5.0 heading typo by @c0state in #803 Added * Adding validation for issued_at when iat > (now + leeway) as ImmatureSignatureError by @sriharan16 in #794 OBS-URL: https://build.opensuse.org/request/show/1031634 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyJWT?expand=0&rev=56 --- PyJWT-2.5.0.tar.gz | 3 --- PyJWT-2.6.0.tar.gz | 3 +++ python-PyJWT.changes | 13 +++++++++++++ python-PyJWT.spec | 2 +- 4 files changed, 17 insertions(+), 4 deletions(-) delete mode 100644 PyJWT-2.5.0.tar.gz create mode 100644 PyJWT-2.6.0.tar.gz diff --git a/PyJWT-2.5.0.tar.gz b/PyJWT-2.5.0.tar.gz deleted file mode 100644 index 6e1471c..0000000 --- a/PyJWT-2.5.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e77ab89480905d86998442ac5788f35333fa85f65047a534adc38edf3c88fc3b -size 72538 diff --git a/PyJWT-2.6.0.tar.gz b/PyJWT-2.6.0.tar.gz new file mode 100644 index 0000000..4bbd825 --- /dev/null +++ b/PyJWT-2.6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:69285c7e31fc44f68a1feb309e948e0df53259d579295e6cfe2b1792329f05fd +size 72984 diff --git a/python-PyJWT.changes b/python-PyJWT.changes index 3e90e08..8c0e878 100644 --- a/python-PyJWT.changes +++ b/python-PyJWT.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Thu Oct 27 21:01:10 UTC 2022 - Yogalakshmi Arunachalam + +- Update to 2.6.0 + Changed + * bump up cryptography >= 3.4.0 by @jpadilla in #807 + * Remove types-cryptography from crypto extra by @lautat in #805 + Fixed + * Invalidate token on the exact second the token expires #797 + * fix: version 2.5.0 heading typo by @c0state in #803 + Added + * Adding validation for issued_at when iat > (now + leeway) as ImmatureSignatureError by @sriharan16 in #794 + ------------------------------------------------------------------- Sun Oct 9 14:11:04 UTC 2022 - Michael Ströder diff --git a/python-PyJWT.spec b/python-PyJWT.spec index 5b85ddc..b00b9cc 100644 --- a/python-PyJWT.spec +++ b/python-PyJWT.spec @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %global skip_python2 1 Name: python-PyJWT -Version: 2.5.0 +Version: 2.6.0 Release: 0 Summary: JSON Web Token implementation in Python License: MIT From 1b72fea97453005056c7352ac43e719dfa2baa9caec30f6786e3bcf7886a4e18 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 28 Oct 2022 20:29:34 +0000 Subject: [PATCH 2/2] - Clean up SPEC file. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyJWT?expand=0&rev=57 --- python-PyJWT.changes | 5 +++++ python-PyJWT.spec | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/python-PyJWT.changes b/python-PyJWT.changes index 8c0e878..16562cf 100644 --- a/python-PyJWT.changes +++ b/python-PyJWT.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Oct 28 20:29:18 UTC 2022 - Matej Cepl + +- Clean up SPEC file. + ------------------------------------------------------------------- Thu Oct 27 21:01:10 UTC 2022 - Yogalakshmi Arunachalam diff --git a/python-PyJWT.spec b/python-PyJWT.spec index b00b9cc..2d41790 100644 --- a/python-PyJWT.spec +++ b/python-PyJWT.spec @@ -54,11 +54,12 @@ find ./ -type f -name "*.py" -perm 644 -exec sed -i -e '1{\@^#!%{_bindir}/env py %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -o addopts="" -k "not test_verify_false_deprecated" +%pytest -k "not test_verify_false_deprecated" %files %{python_files} %license LICENSE %doc AUTHORS.rst CHANGELOG.rst README.rst -%{python_sitelib}/* +%{python_sitelib}/jwt +%{python_sitelib}/PyJWT-%{version}*-info %changelog