Compare commits
13 Commits
Author | SHA256 | Date | |
---|---|---|---|
5c97d95ce0 | |||
394f441df0 | |||
8892bd0fd9 | |||
891f918fef | |||
f80ecb73cc | |||
1f7eb024ce | |||
62c135819c | |||
8bf63f728c | |||
97262c1a9f | |||
2736cf9bfd | |||
38a74d14c7 | |||
bf49918e05 | |||
e87c3ff565 |
BIN
PyJWT-2.8.0.tar.gz
(Stored with Git LFS)
BIN
PyJWT-2.8.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
pyjwt-2.10.1.tar.gz
(Stored with Git LFS)
Normal file
BIN
pyjwt-2.10.1.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +1,90 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
- Skip failing test gh#jpadilla/pyjwt#802
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 5 11:16:57 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to version 2.9.0
|
||||
* Drop support for Python 3.7 (EOL) by @hugovk in #910
|
||||
* Allow JWT issuer claim validation to accept a list of
|
||||
strings too by @mattpollak in #913
|
||||
* Fix unnecessary string concatenation by @sirosen in #904
|
||||
* Fix docs for ``jwt.decode_complete`` to include ``strict_aud``
|
||||
option by @woodruffw in #923
|
||||
* Fix docs step by @jpadilla in #950
|
||||
* Fix: Remove an unused variable from example code block
|
||||
by @kenkoooo in #958
|
||||
* Add support for Python 3.12 by @hugovk in #910
|
||||
* Improve performance of ``is_ssh_key`` + add unit test by @bdraco in #940
|
||||
* Allow ``jwt.decode()`` to accept a PyJWK object by @luhn in #886
|
||||
* Make ``algorithm_name`` attribute available on PyJWK by @luhn in #886
|
||||
* Raise ``InvalidKeyError`` on invalid PEM keys to be compatible
|
||||
with cryptography 42.x.x by @CollinEMac in #952
|
||||
* Raise an exception when required cryptography dependency
|
||||
is missing by @tobloef in #963
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 4 17:36:39 UTC 2023 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-PyJWT
|
||||
#
|
||||
# Copyright (c) 2023 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,27 +16,24 @@
|
||||
#
|
||||
|
||||
|
||||
%global skip_python2 1
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-PyJWT
|
||||
Version: 2.8.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}
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pyjwt/pyjwt-%{version}.tar.gz
|
||||
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
|
||||
Requires(postun): update-alternatives
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@@ -44,7 +41,7 @@ BuildArch: noarch
|
||||
A Python implementation of JSON Web Token draft 01.
|
||||
|
||||
%prep
|
||||
%setup -q -n PyJWT-%{version}
|
||||
%setup -q -n pyjwt-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
@@ -57,12 +54,15 @@ find ./ -type f -name "*.py" -perm 644 -exec sed -i -e '1{\@^#!%{_bindir}/env py
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest -k "not test_verify_false_deprecated" -k "not test_get_jwt_set_sslcontext_default"
|
||||
donttest="test_verify_false_deprecated or test_get_jwt_set_sslcontext_default"
|
||||
# Failing test: gh#jpadilla/pyjwt#802
|
||||
donttest+=" or test_ec_to_jwk_with_invalid_curve"
|
||||
%pytest -k "not ($donttest)"
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc AUTHORS.rst CHANGELOG.rst README.rst
|
||||
%{python_sitelib}/jwt
|
||||
%{python_sitelib}/PyJWT-%{version}*-info
|
||||
%{python_sitelib}/*-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user