[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#56701] [PATCH 16/19] gnu: python-pyjwt: Update to 2.4.0.
From: |
Hartmut Goebel |
Subject: |
[bug#56701] [PATCH 16/19] gnu: python-pyjwt: Update to 2.4.0. |
Date: |
Fri, 22 Jul 2022 16:02:36 +0200 |
* gnu/packages/python-xyz.scm (python-pyjwt): Update to 2.4.0.
[source]: Remove snippet.
[arguments]<phases>{check}: Remove now unused parts, honor '#:tests?'.
(native-inputs]: Remove python-pytest-cov, add python-cryptography.
---
gnu/packages/python-xyz.scm | 23 ++++++-----------------
1 file changed, 6 insertions(+), 17 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 284729e834..de2a4d6ffb 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3736,34 +3736,23 @@ memory usage and transliteration quality.")
(define-public python-pyjwt
(package
(name "python-pyjwt")
- (version "1.7.1")
+ (version "2.4.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "PyJWT" version))
(sha256
(base32
- "15hflax5qkw1v6nssk1r0wkj83jgghskcmn875m3wgvpzdvajncd"))
- (modules '((guix build utils)))
- (snippet
- '(begin
- (for-each delete-file-recursively
- (find-files "." "\\.pyc$"))
- #t))))
+ "1fmbcwfw1463wjzwbcgg3s16rad6kfb1mc5y7jbkp6v9ihh0hafl"))))
(build-system python-build-system)
(arguments
'(#:phases (modify-phases %standard-phases
(replace 'check
- (lambda _
- ;; Mimic upstream commit 3a20892442b34c7 to get
- ;; rid of dependency on pytest-runner < 5.0.
- ;; Remove substitution for PyJWT > 1.7.1.
- (substitute* "setup.py"
- ((".*pytest-runner.*")
- ""))
- (invoke "pytest" "-vv"))))))
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-vv")))))))
(native-inputs
- (list python-pytest python-pytest-cov))
+ (list python-cryptography python-pytest))
(home-page "https://github.com/progrium/pyjwt")
(synopsis "JSON Web Token implementation in Python")
(description
--
2.30.4
- [bug#56701] [PATCH 05/19] gnu: Add python-os-service-types., (continued)
- [bug#56701] [PATCH 05/19] gnu: Add python-os-service-types., Hartmut Goebel, 2022/07/22
- [bug#56701] [PATCH 18/19] gnu: python-pygithub: Update to 1.55., Hartmut Goebel, 2022/07/22
- [bug#56701] [PATCH 08/19] gnu: Add python-requestsexceptions., Hartmut Goebel, 2022/07/22
- [bug#56701] [PATCH 14/19] gnu: python-oslo.log: Update to 5.0.0., Hartmut Goebel, 2022/07/22
- [bug#56701] [PATCH 17/19] gnu: python-swiftclient: Update to 4.0.1., Hartmut Goebel, 2022/07/22
- [bug#56701] [PATCH 09/19] gnu: Add python-openstacksdk., Hartmut Goebel, 2022/07/22
- [bug#56701] [PATCH 19/19] gnu: conan: Update to 1.50.0., Hartmut Goebel, 2022/07/22
- [bug#56701] [PATCH 06/19] gnu: Add python-oslo.concurrency., Hartmut Goebel, 2022/07/22
- [bug#56701] [PATCH 07/19] gnu: Add python-keystoneauth1., Hartmut Goebel, 2022/07/22
- [bug#56701] [PATCH 11/19] gnu: python-keystoneclient: Update to 5.0.0., Hartmut Goebel, 2022/07/22
- [bug#56701] [PATCH 16/19] gnu: python-pyjwt: Update to 2.4.0.,
Hartmut Goebel <=
- [bug#56701] [PATCH 15/19] gnu: python-tempest-lib: Update to 1.0.0., Hartmut Goebel, 2022/07/22
- [bug#56701] [PATCH 12/19] gnu: python-munch: Update to 2.5.0., Hartmut Goebel, 2022/07/22
- [bug#56701] [PATCH 10/19] gnu: Add python-tempest., Hartmut Goebel, 2022/07/22
- [bug#56701] [PATCH 13/19] gnu: python-oslo.context: Update to 5.0.0., Hartmut Goebel, 2022/07/22