all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Hartmut Goebel <h.goebel@crazy-compilers.com>
To: 56701@debbugs.gnu.org
Subject: [bug#56701] [PATCH 16/19] gnu: python-pyjwt: Update to 2.4.0.
Date: Fri, 22 Jul 2022 16:02:36 +0200	[thread overview]
Message-ID: <00605bc1bf4040c82f9668f7ce8c521070178982.1658498185.git.h.goebel@crazy-compilers.com> (raw)
In-Reply-To: <cover.1658498185.git.h.goebel@crazy-compilers.com>

* 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





  parent reply	other threads:[~2022-07-22 14:07 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-22 14:01 [bug#56701] [PATCH 00/19] Update python-pyjwt and its dependent packages Hartmut Goebel
2022-07-22 14:02 ` [bug#56701] [PATCH 01/19] gnu: python-args: Make it build with Python 3 Hartmut Goebel
2022-08-04 19:04   ` Efraim Flashner
2022-07-22 14:02 ` [bug#56701] [PATCH 02/19] gnu: Add python-requests-kerberos Hartmut Goebel
2022-07-22 14:02 ` [bug#56701] [PATCH 03/19] gnu: Add python-dogpile.cache Hartmut Goebel
2022-08-04 19:04   ` Efraim Flashner
2022-08-04 19:07     ` ( via Guix-patches via
2022-08-04 20:22       ` Efraim Flashner
2022-08-04 20:26         ` ( via Guix-patches via
2022-08-04 20:33     ` Hartmut Goebel
2022-08-04 21:35       ` Efraim Flashner
2022-07-22 14:02 ` [bug#56701] [PATCH 04/19] gnu: Add python-statsd Hartmut Goebel
2022-07-22 14:02 ` [bug#56701] [PATCH 05/19] gnu: Add python-os-service-types Hartmut Goebel
2022-08-04 19:04   ` Efraim Flashner
2022-07-22 14:02 ` [bug#56701] [PATCH 06/19] gnu: Add python-oslo.concurrency Hartmut Goebel
2022-08-04 19:04   ` Efraim Flashner
2022-07-22 14:02 ` [bug#56701] [PATCH 07/19] gnu: Add python-keystoneauth1 Hartmut Goebel
2022-07-22 14:02 ` [bug#56701] [PATCH 08/19] gnu: Add python-requestsexceptions Hartmut Goebel
2022-08-04 19:01   ` Efraim Flashner
2022-07-22 14:02 ` [bug#56701] [PATCH 09/19] gnu: Add python-openstacksdk Hartmut Goebel
2022-08-04 19:04   ` Efraim Flashner
2022-07-22 14:02 ` [bug#56701] [PATCH 10/19] gnu: Add python-tempest Hartmut Goebel
2022-07-22 14:02 ` [bug#56701] [PATCH 11/19] gnu: python-keystoneclient: Update to 5.0.0 Hartmut Goebel
2022-08-04 19:04   ` Efraim Flashner
2022-07-22 14:02 ` [bug#56701] [PATCH 12/19] gnu: python-munch: Update to 2.5.0 Hartmut Goebel
2022-07-22 14:02 ` [bug#56701] [PATCH 13/19] gnu: python-oslo.context: Update to 5.0.0 Hartmut Goebel
2022-08-04 19:03   ` Efraim Flashner
2022-07-22 14:02 ` [bug#56701] [PATCH 14/19] gnu: python-oslo.log: " Hartmut Goebel
2022-07-22 14:02 ` [bug#56701] [PATCH 15/19] gnu: python-tempest-lib: Update to 1.0.0 Hartmut Goebel
2022-07-22 14:02 ` Hartmut Goebel [this message]
2022-07-22 14:02 ` [bug#56701] [PATCH 17/19] gnu: python-swiftclient: Update to 4.0.1 Hartmut Goebel
2022-07-22 14:02 ` [bug#56701] [PATCH 18/19] gnu: python-pygithub: Update to 1.55 Hartmut Goebel
2022-07-22 14:02 ` [bug#56701] [PATCH 19/19] gnu: conan: Update to 1.50.0 Hartmut Goebel
     [not found] ` <handler.56701.B.165849848718348.ack@debbugs.gnu.org>
2022-08-10  7:54   ` bug#56701: Acknowledgement ([PATCH 00/19] Update python-pyjwt and its dependent packages) Hartmut Goebel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=00605bc1bf4040c82f9668f7ce8c521070178982.1658498185.git.h.goebel@crazy-compilers.com \
    --to=h.goebel@crazy-compilers.com \
    --cc=56701@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.