Sync from SUSE:SLFO:Main python-PyJWT revision bfad5f419cce7ee618ef83274c4aacc3

This commit is contained in:
2025-05-13 19:47:20 +02:00
parent 1a3c71aa07
commit 7d9018ec92
4 changed files with 68 additions and 11 deletions

BIN
pyjwt-2.10.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
pyjwt-2.9.0.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@@ -1,3 +1,63 @@
-------------------------------------------------------------------
Thu Apr 3 19:47:31 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
- Just use a wildcard for the dist-info metadata to make it
properly work on all setuptools versions.
-------------------------------------------------------------------
Tue Apr 1 12:52:41 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Wrap the metadata directory name in a distro-based conditional
-------------------------------------------------------------------
Tue Mar 25 04:34:47 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Lowercase metadata directory name.
-------------------------------------------------------------------
Tue Dec 3 09:42:44 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
- Update to version 2.10.1 (bsc#1234038, CVE-2024-53861):
* Prevent partial matching of iss claim. Thanks @fabianbadoi!
(See: GHSA-75c5-xw7c-p5pm)
-------------------------------------------------------------------
Wed Nov 20 07:59:12 UTC 2024 - Adrian Schröter <adrian@suse.de>
- Update to version 2.10.0
* chore: use sequence for typing rather than list
* Add support for Python 3.13
* [pre-commit.ci] pre-commit autoupdate
* Add an RTD config file to resolve RTD build failures
* docs: Update iat exception docs
* Remove algorithm requirement for JWT API
* [pre-commit.ci] pre-commit autoupdate
* Create SECURITY.md
* docs fix: decode_complete scope and algorithms
* fix doctest for docs/usage.rst
* fix test_utils.py not to xfail
* Correct jwt.decode audience param doc expression
* Add PS256 encoding and decoding usage
* Add API docs for PyJWK
* Refactor project configuration files from setup.cfg to pyproject.toml PEP-518
* Add JWK support to JWT encode
* Update pre-commit hooks to lint pyproject.toml
* Add EdDSA algorithm encoding/decoding usage
* Ruff linter and formatter changes
* Validate sub and jti claims for the token
* Add ES256 usage
* Encode EC keys with a fixed bit length
* [pre-commit.ci] pre-commit autoupdate
* Drop support for Python 3.8
* Prepare 2.10.0 release
* Bump codecov/codecov-action from 4 to 5
* [pre-commit.ci] pre-commit autoupdate
-------------------------------------------------------------------
Mon Oct 7 13:53:47 UTC 2024 - Benjamin Greiner <code@bnavigator.de>
- Fix requirements
-------------------------------------------------------------------
Tue Aug 13 07:09:23 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-PyJWT
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,25 +16,22 @@
#
%global skip_python2 1
%{?sle15_python_module_pythons}
Name: python-PyJWT
Version: 2.9.0
Version: 2.10.1
Release: 0
Summary: JSON Web Token implementation in Python
License: MIT
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 cryptography >= 3.4}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module typing-extensions}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-cryptography >= 3.3.1
Requires: python-typing-extensions
Recommends: python-cryptography >= 3.4
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
@@ -66,6 +63,6 @@ donttest+=" or test_ec_to_jwk_with_invalid_curve"
%license LICENSE
%doc AUTHORS.rst CHANGELOG.rst README.rst
%{python_sitelib}/jwt
%{python_sitelib}/PyJWT-%{version}*-info
%{python_sitelib}/*-%{version}.dist-info
%changelog