Ai
8 Star 0 Fork 25

src-openEuler/python-jwt
关闭

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-jwt.spec 3.27 KB
一键复制 编辑 原始数据 按行查看 历史
liudongshi 提交于 2025-12-02 19:48 +08:00 . Update package to version 2.10.1
%global srcname jwt
%bcond_without tests
Name: python-jwt
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/e7/46/bd74733ff231675599650d3e47f361794b22ef3e3770998dda30d3b63726/pyjwt-2.10.1.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-pip
BuildRequires: python3-setuptools
Requires: python3-cryptography >= 3.4.0
%if %{with tests}
BuildRequires: python3-pytest python3-pytest-cov python3-pytest-runner
%endif
%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.
%description %{_description}
%package -n python%{python3_pkgversion}-%{srcname}
Summary: %{summary}
Requires: python%{python3_pkgversion}-cryptography
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
%description -n python%{python3_pkgversion}-%{srcname} %{_description}
%package_help
%prep
%autosetup -n pyjwt-%{version} -p1
%build
%pyproject_build
%install
%pyproject_install
%check
%if %{with tests}
rm -f tests/test_jwks_client.py
%{__python3} -m pytest
%endif
%files -n python3-jwt
%doc README.rst
%license LICENSE
%{python3_sitelib}/*
%files help
%doc README.rst
%changelog
* Tue Dec 02 2025 liudongshi <liudongshi@kylinos.cn> - 2.10.1-1
- Update package to version 2.10.1
* Fri Jan 24 2025 xinsheng <xinsheng3@huawei.com> - 2.9.0-2
- skip test case which need network
* Mon Aug 19 2024 lilu <lilu@kylinos.cn> - 2.9.0-1
- Update package to version 2.9.0:
- Add support for Python 3.12
- Fix an unnecessary str concat
- Update jwt-api to accept either a string or list of strings for issuer validation
* Fri Jan 26 2024 chenhuihan <chenhuihan@huawei.com> - 2.8.0-1
- Update package to version 2.8.0:
- export PyJWKClientConnectionError class
- pre-autoupdate mirrors-mypy blacken-docs black
- allows passing of ssl.SSLContext to PyJWKClient
* Wed Jul 12 2023 sunhui <sunhui@kylinos.cn> - 2.7.0-1
- Update package to version 2.7.0
* Fri Jan 20 2023 chendh6 <chendonghui6@huawei.com> - 2.6.0-1
- upgrade version to 2.6.0
* Mon Jul 18 2022 yanglongkang <yanglongkang@h-partners.com> - 2.3.0-4
- fix failing advisory test and fix lint errors
* Thu Jun 09 2022 shixuantong <shixuantong@h-partners.com> - 2.3.0-3
- fix CVE-2022-29217
* Tue Jun 07 2022 shixuantong <shixuantong@h-partners.com> - 2.3.0-2
- enable check
* Wed Nov 24 2021 liudabo <liudabo1@huawei.com> - 2.3.0-1
- upgrade version to 2.3.0
* Tue Jul 13 2021 huangtianhua <huangtianhua@huawei.com> - 2.0.1-1
- Upgrade to 2.0.1 to support OpenStack-W
* Tue Feb 02 2021 shixuantong <shixuantong@huawei.com> - 2.0.0-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:upgrade version to 2.0.0
* Fri Oct 30 2020 wuchaochao <wuchaochao4@huawei.com> - 1.7.1-3t
- Type:bufixt
- CVE:NAt
- SUG:NAt
- DESC:remove python2
* Fri Oct 11 2019 yefei <yefei25@huawei.com> - 1.7.1-2
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:move author from doc to license
* Sun Sep 15 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.7.1-1
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/python-jwt.git
git@gitee.com:src-openeuler/python-jwt.git
src-openeuler
python-jwt
python-jwt
master

搜索帮助