guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 5f6c124152a9d08c2763057cd6d755c856f9744d
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Mon Oct 20 23:00:11 2025 +0100
gnu: python-pyjwt: Update to 2.10.1.
* gnu/packages/python-xyz.scm (python-pyjwt): Update to 2.10.1.
[arguments] <test-flags>: Skip one test.
[native-inputs]: Remove python-coverage, python-cryptography,
python-sphinx, python-sphinx-rtd-theme, and python-wheel.
[propagated-inputs]: Set python-cryptography as optional when supported.
Change-Id: I936dcee1b6b06636e8ae6ee2cfaad886ac716f95
---
gnu/packages/python-xyz.scm | 28 +++++++++++++++++-----------
1 file changed, 17 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index af876cef4b..57439bd9ba 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -7943,23 +7943,29 @@ memory usage and transliteration quality.")
(define-public python-pyjwt
(package
(name "python-pyjwt")
- (version "2.6.0")
+ (version "2.10.1")
(source
(origin
(method url-fetch)
- (uri (pypi-uri "PyJWT" version))
+ (uri (pypi-uri "pyjwt" version))
(sha256
- (base32
- "1z85kwr945rbzrn5wabrsmck5x8disa9wc7b3y5gci7w65z5qa39"))))
+ (base32 "0lqr73wnrnxflbh8wr768hxp493qayhdis86mwy26280n8p7gi9w"))))
(build-system pyproject-build-system)
+ (arguments
+ (list
+ ;; tests: 286 passed, 4 skipped, 1 deselected
+ ;;
+ ;; jwt.exceptions.PyJWKClientConnectionError: Fail to fetch data from
+ ;; the url, err: "<urlopen error [Errno -3] Temporary failure in name
+ ;; resolution>"
+ #:test-flags #~(list "-k" "not test_get_jwt_set_sslcontext_default")))
(native-inputs
- (list python-coverage
- python-cryptography
- python-pytest
- python-sphinx
- python-sphinx-rtd-theme
- python-setuptools
- python-wheel))
+ (list python-pytest
+ python-setuptools))
+ (propagated-inputs
+ (if (supported-package? python-cryptography)
+ (list python-cryptography)
+ '()))
(home-page "https://github.com/progrium/pyjwt")
(synopsis "JSON Web Token implementation in Python")
(description