diff --git a/pyjwt-2.10.1.tar.gz b/pyjwt-2.10.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..76e90acbeea295dc314a2ce4fc537a5e407143bb Binary files /dev/null and b/pyjwt-2.10.1.tar.gz differ diff --git a/pyjwt-2.9.0.tar.gz b/pyjwt-2.9.0.tar.gz deleted file mode 100644 index fa2fb4486589b42878435e5dd5e4045d5183811e..0000000000000000000000000000000000000000 Binary files a/pyjwt-2.9.0.tar.gz and /dev/null differ diff --git a/python-jwt.spec b/python-jwt.spec index 0686377d9f9e4886b8df083347528f70c18050e8..854fcd05357ad0f30176484f4b4435a871a9659d 100644 --- a/python-jwt.spec +++ b/python-jwt.spec @@ -1,18 +1,18 @@ %global srcname jwt %bcond_without tests Name: python-jwt -Version: 2.9.0 -Release: 2 +Version: 2.10.1 +Release: 1 Summary: JSON Web Token implementation in Python License: MIT URL: https://github.com/jpadilla/pyjwt -Source0: https://files.pythonhosted.org/packages/fb/68/ce067f09fca4abeca8771fe667d89cc347d1e99da3e093112ac329c6020e/pyjwt-2.9.0.tar.gz +Source0: https://files.pythonhosted.org/packages/source/p/pyjwt/pyjwt-2.10.1.tar.gz BuildArch: noarch %if %{with tests} BuildRequires: python3-pytest python3-pytest-cov python3-pytest-runner %endif -BuildRequires: python%{python3_pkgversion}-devel python%{python3_pkgversion}-setuptools python%{python3_pkgversion}-cryptography +BuildRequires: python%{python3_pkgversion}-devel python%{python3_pkgversion}-setuptools python%{python3_pkgversion}-cryptography python%{python3_pkgversion}-pip %global _description \ PyJWT is a Python library which allows you to encode and decode JSON Web Tokens (JWT). \ JWT is an open, industry-standard (RFC 7519) for representing claims securely between two parties. @@ -33,10 +33,10 @@ Requires: python%{python3_pkgversion}-cryptography %autosetup -n pyjwt-%{version} -p1 %build -%py3_build +%pyproject_build %install -%py3_install +%pyproject_install %check %if %{with tests} @@ -47,13 +47,19 @@ rm -f tests/test_jwks_client.py %files -n python%{python3_pkgversion}-jwt %license LICENSE %{python3_sitelib}/%{srcname}/ -%{python3_sitelib}/*.egg-info +%{python3_sitelib}/PyJWT.egg-info/* #%{_bindir}/pyjwt %files help %doc README.rst %changelog +* Wed Nov 12 2025 wuzhaomin - 2.10.1-1 +- Update package to version 2.10.1 +- docs fix: decode_complete scope and algorithms +- fix doctest for docs/usage.rst +- fix test_utils.py not to xfail + * Fri Jan 24 2025 xinsheng - 2.9.0-2 - skip test case which need network