diff --git a/PyJWT-2.6.0.tar.gz b/PyJWT-2.6.0.tar.gz deleted file mode 100644 index 4bbd825..0000000 --- a/PyJWT-2.6.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:69285c7e31fc44f68a1feb309e948e0df53259d579295e6cfe2b1792329f05fd -size 72984 diff --git a/PyJWT-2.7.0.tar.gz b/PyJWT-2.7.0.tar.gz new file mode 100644 index 0000000..22c5505 --- /dev/null +++ b/PyJWT-2.7.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bd6ca4a3c4285c1a2d4349e5a035fdf8fb94e04ccd0fcbe6ba289dae9cc3e074 +size 77902 diff --git a/python-PyJWT.changes b/python-PyJWT.changes index f2ece27..3cfd0a4 100644 --- a/python-PyJWT.changes +++ b/python-PyJWT.changes @@ -1,3 +1,40 @@ +------------------------------------------------------------------- +Fri May 19 13:25:05 UTC 2023 - Adrian Schröter + +- update to version 2.7.0 + * Add classifier for Python 3.11 by @eseifert in #818 + * Add Algorithm.compute_hash_digest and use it to implement at_hash validation example by @sirosen in #775 + * fix: use datetime.datetime.timestamp function to have a milliseconds by @daillouf in #821 + * [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #825 + * Custom header configuration in jwk client by @thundercat1 in #823 + * [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #828 + * [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #833 + * [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #835 + * Add PyJWT._{de,en}code_payload hooks by @akx in #829 + * Add sort_headers parameter to api_jwt.encode by @evroon in #832 + * Make mypy configuration stricter and improve typing by @akx in #830 + * Bump actions/stale from 6 to 7 by @dependabot in #840 + * [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #838 + * Add more types by @Viicos in #843 + * Differentiate between two errors by @irdkwmnsb in #809 + * Fix _validate_iat validation by @Viicos in #847 + * Improve error messages when cryptography isn't installed by @Viicos in #846 + * [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #852 + * [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #855 + * [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #859 + * Make Algorithm an abstract base class by @Viicos in #845 + * docs: correct mistake in the changelog about verify param by @gbillig in #866 + * [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #868 + * Bump actions/stale from 7 to 8 by @dependabot in #872 + * [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #874 + * Add a timeout for PyJWKClient requests by @daviddavis in #875 + * Add client connection error exception by @daviddavis in #876 + * Add complete types to take all allowed keys into account by @Viicos in #873 + * [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #878 + * Build and upload PyPI package by @jpadilla in #884 + * Fix for issue #862 - ignore invalid keys in a jwks. by @timw6n in #863 + * Add as_dict option to Algorithm.to_jwk by @fluxth in #881 + ------------------------------------------------------------------- Fri Apr 21 12:21:01 UTC 2023 - Dirk Müller diff --git a/python-PyJWT.spec b/python-PyJWT.spec index 34f42ab..87efd95 100644 --- a/python-PyJWT.spec +++ b/python-PyJWT.spec @@ -16,11 +16,10 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %global skip_python2 1 %{?sle15_python_module_pythons} Name: python-PyJWT -Version: 2.6.0 +Version: 2.7.0 Release: 0 Summary: JSON Web Token implementation in Python License: MIT @@ -28,12 +27,14 @@ Group: Development/Languages/Python URL: https://github.com/progrium/pyjwt Source: https://files.pythonhosted.org/packages/source/P/PyJWT/PyJWT-%{version}.tar.gz BuildRequires: %{python_module cryptography >= 3.3.1} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module typing-extensions} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-cryptography >= 3.3.1 -Requires: python-setuptools +Requires: python-typing-extensions Requires(post): update-alternatives Requires(postun):update-alternatives BuildArch: noarch @@ -46,12 +47,13 @@ A Python implementation of JSON Web Token draft 01. %setup -q -n PyJWT-%{version} %build -%python_build +%pyproject_wheel + #remove shebang from all non executable files find ./ -type f -name "*.py" -perm 644 -exec sed -i -e '1{\@^#!%{_bindir}/env python@d}' {} \; %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check