From patchwork Fri Jul 22 14:02:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hartmut Goebel X-Patchwork-Id: 40832 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1A84927BBE9; Fri, 22 Jul 2022 15:07:55 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 8CC4E27BBEA for ; Fri, 22 Jul 2022 15:07:54 +0100 (BST) Received: from localhost ([::1]:39412 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oEtJp-0004Ki-NA for patchwork@mira.cbaines.net; Fri, 22 Jul 2022 10:07:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51324) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oEtGB-0008GR-Fk for guix-patches@gnu.org; Fri, 22 Jul 2022 10:04:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52321) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oEtGB-0005k3-60 for guix-patches@gnu.org; Fri, 22 Jul 2022 10:04:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oEtGB-0004vg-0w for guix-patches@gnu.org; Fri, 22 Jul 2022 10:04:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56701] [PATCH 16/19] gnu: python-pyjwt: Update to 2.4.0. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 22 Jul 2022 14:04:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56701 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56701@debbugs.gnu.org Received: via spool by 56701-submit@debbugs.gnu.org id=B56701.165849862018807 (code B ref 56701); Fri, 22 Jul 2022 14:04:06 +0000 Received: (at 56701) by debbugs.gnu.org; 22 Jul 2022 14:03:40 +0000 Received: from localhost ([127.0.0.1]:42052 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEtFk-0004tG-JB for submit@debbugs.gnu.org; Fri, 22 Jul 2022 10:03:40 -0400 Received: from mout.kundenserver.de ([212.227.126.134]:60659) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEtFZ-0004ry-G6 for 56701@debbugs.gnu.org; Fri, 22 Jul 2022 10:03:29 -0400 Received: from hermia.goebel-consult.de ([46.87.142.64]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPSA (Nemesis) id 1McY0L-1neicI3m3h-00cvDZ for <56701@debbugs.gnu.org>; Fri, 22 Jul 2022 16:03:23 +0200 Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 5C71866629; Fri, 22 Jul 2022 16:02:50 +0200 (CEST) From: Hartmut Goebel Date: Fri, 22 Jul 2022 16:02:36 +0200 Message-Id: <00605bc1bf4040c82f9668f7ce8c521070178982.1658498185.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.4 In-Reply-To: References: MIME-Version: 1.0 X-Provags-ID: V03:K1:yrm8MapjiOrCzqNsa5JwtjpQAvYFgz8ikrIG/JKA/VQSHSfmgwc osbL+5N8re/86Pcuv8DB6UDHwTemXkx6WKMtEJo3rxsRh54pXMM8THQSsL7h3M2ncyqjkzr NG37jCM8bpkS2OFVbvXj2UHhFQ2YLXCbN/GzfP0ojbKLOFwzraZqRyfE7kfikRc89DkSzwz tYRienkiyZM66pprqCjsg== X-UI-Out-Filterresults: notjunk:1;V03:K0:08vyfjgcXc8=:GyqzgsL/uiI+SY7HxDlEVb Fsj/poJU8UQn0w2LD7hiroPViu+aijpBHvOfMVDANAUrzqieJKQdJBdIOThMn+IfxatLwZh3s QzILMa175vbkTAta9tVELVSkG0/P+TeCi3bcqf1ItF1TGmUDPXIkdCPuGnIVRQNsxrWSplVrt yq2Z188T6oQJXn/BFvjSaViA2/Q2RZwr+KH0IA6WKnWN1AMAWcpODoFf9i+ZJxV/NQgKs34Au AHOBO+7v58AepjQT10dedkL6iN8kw1bLpZ7aYcyCSchgevU7g1tPWDaQKSvOZI1PyDD4Z0ooW RejxBysz/A2y2RyfOLfXw/ykV0WBAQnW7GwgTgqsXSerpnD+9xDGSMlrO4paS+C0w0LYj/XyD IoYWAXx4GJSleVJF0pVTEEaYnWnoh8W12o+KOTakIlOD+vyr3cjgCjLCDZUeuD9FFfNEHlN85 wk9yleTaH/xcbv+2irEQ+q6w72jhEuam2yGoj4uRofMoETmOXzZjt3XBPbggWMwoScyBquj2+ yHN0fPsdUs2JnhY33/bNt8iKu2Qc3Ew/7V77p0jPXARJvLeJCd2eXrJECV+oJhaQK6cITjhaq DU1FOH+YdCXUYxlupe9LiExG19iCP6iGIcIk9AEUZ2SOuaiYuTF210wHtZxg3x7zPenqo5wwG CymNwMsl7UqyfkcrEqhMjQrdY8nRopA8FVTa3CgYUalH/FD60jpifk7tW7/JtZ9VYJF04Pn/6 dNXPtQ0N0Prwr16Ciz3FFdYSdsWvBQeSafbrU4XjTE9y8Lw4ybWVJXU/9H0= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-pyjwt): Update to 2.4.0. [source]: Remove snippet. [arguments]{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