!36 [sync] PR-34: fix check error which need network

From: @openeuler-sync-bot 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
This commit is contained in:
openeuler-ci-bot 2024-12-06 09:42:37 +00:00 committed by Gitee
commit a0b3661ff3
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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