fix check error

(cherry picked from commit 34865721a166c503232a143ba1a1ce5f26888743)
This commit is contained in:
zhangxianjun 2024-11-26 10:34:22 +08:00 committed by openeuler-sync-bot
parent 9617914970
commit 95fdd05c20

View File

@ -2,7 +2,7 @@
%bcond_without tests
Name: python-jwt
Version: 2.8.0
Release: 1
Release: 2
Summary: JSON Web Token implementation in Python
License: MIT
URL: https://github.com/jpadilla/pyjwt
@ -40,6 +40,7 @@ Requires: python%{python3_pkgversion}-cryptography
%check
%if %{with tests}
rm -f tests/test_jwks_client.py
%{__python3} -m pytest
%endif
@ -53,6 +54,9 @@ Requires: python%{python3_pkgversion}-cryptography
%doc README.rst
%changelog
* Tue Nov 26 2024 zhangxianjun <zhangxianjun@kylinos.cn> - 2.8.0-2
- skip test case which need network
* Fri Jan 26 2024 chenhuihan <chenhuihan@huawei.com> - 2.8.0-1
- Update package to version 2.8.0:
- export PyJWKClientConnectionError class