From patchwork Sat May 20 16:44:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kiasoc5 X-Patchwork-Id: 50169 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 DBB4627BBE9; Sat, 20 May 2023 17:45:20 +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=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,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 CA57327BBE2 for ; Sat, 20 May 2023 17:45:19 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q0PhY-0000hs-Vm; Sat, 20 May 2023 12:45:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q0PhX-0000gl-G3 for guix-patches@gnu.org; Sat, 20 May 2023 12:45:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q0PhX-0006Lh-7o for guix-patches@gnu.org; Sat, 20 May 2023 12:45:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q0PhX-0006ep-1x for guix-patches@gnu.org; Sat, 20 May 2023 12:45:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63612] [PATCH 4/6] gnu: python-werkzeug: Update to 2.2.3. Resent-From: kiasoc5 Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 20 May 2023 16:45:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63612 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63612@debbugs.gnu.org Cc: kiasoc5 Received: via spool by 63612-submit@debbugs.gnu.org id=B63612.168460106825490 (code B ref 63612); Sat, 20 May 2023 16:45:03 +0000 Received: (at 63612) by debbugs.gnu.org; 20 May 2023 16:44:28 +0000 Received: from localhost ([127.0.0.1]:59271 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0Pgy-0006d3-3G for submit@debbugs.gnu.org; Sat, 20 May 2023 12:44:28 -0400 Received: from knopi.disroot.org ([178.21.23.139]:52822) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0Pgs-0006cK-JA for 63612@debbugs.gnu.org; Sat, 20 May 2023 12:44:22 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 206C244876; Sat, 20 May 2023 18:44:22 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8oPU0CXKQhNN; Sat, 20 May 2023 18:44:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1684601060; bh=FoWP5z7uwnqenT3uiBTGl0iMyY2zUvsteCcNuOO99l0=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=QIaCWGO9Ml3PEQ665zHGGIigCIKDWntlVKMoX+E6pDlq1QWmkt+BnHqx3ZI3g/gHG MRv7MDcPo0uxY5ixHUR8SB5vaa5Y0fONQ263hGE5DHcl75RdqNP6jP/4vKAz8XX71n xa7gCT76oVHH+JBGYcwuaPJtXAub9oXFDwiUOqDUNcKvRM5QTY6VTQN7qxl3GXFSBj gDqDRHky8s8ETjwsJfuxX1aotZFaL6F6BiW/HFcxJuTCrH7Yp5sI8yZQx9CF7Pwaok tDcl0Ip6KKTMqKNhRMUUz1Z5SW0o8Ak8lubLhoqPrG0qu75O595oYonkl8TwnSxUfT KrAcGWI6uJBHA== Date: Sat, 20 May 2023 12:44:10 -0400 Message-Id: <07ca6d2acf1f56fcf0bae35cac3eaec622e916cb.1684600821.git.kiasoc5@disroot.org> In-Reply-To: References: MIME-Version: 1.0 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: , Reply-to: kiasoc5 X-ACL-Warn: , kiasoc5 via Guix-patches X-Patchwork-Original-From: kiasoc5 via Guix-patches via From: kiasoc5 Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-web.scm (python-werkzeug): Update to 2.2.3. [build-system]: Switch to pyproject-build-system. [arguments]: Delete check phase. Use test flags. Skip another test. [propagated-inputs]: Add python-markupsafe. [native-inputs]: Add python-cryptography, python-ephemeral-port-reserve, python-greenlet, and python-watchdog. --- gnu/packages/python-web.scm | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 337c2b72c0..b675edab12 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -4625,29 +4625,30 @@ (define-public python-publicsuffix2 (define-public python-werkzeug (package (name "python-werkzeug") - (version "2.0.2") + (version "2.2.3") (source (origin (method url-fetch) (uri (pypi-uri "Werkzeug" version)) (sha256 (base32 - "16nvv9dh37ssf5pkny9yj2li0n6wyzsygh8a9i86r3gfipybcaxa")))) - (build-system python-build-system) + "1zhaznfq2pc6czbg5gjg3pm92hq9mkip9wg6kn5kbnnl2yacq71f")))) + (build-system pyproject-build-system) (arguments - '(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? inputs outputs #:allow-other-keys) - (when tests? - (add-installed-pythonpath inputs outputs) - (invoke "python" "-m" "pytest" - ;; Test tries to use the network. - "-k not test_reloader_sys_path"))))))) + (list + #:test-flags + ;; Test tries to use the network. + '(list "-k" "not test_exclude_patterns and not test_reloader_sys_path"))) (propagated-inputs - (list python-requests)) + (list python-requests python-markupsafe)) (native-inputs - (list python-pytest python-pytest-timeout python-pytest-xprocess)) + (list python-cryptography + python-ephemeral-port-reserve + python-greenlet + python-pytest + python-pytest-timeout + python-pytest-xprocess + python-watchdog)) (home-page "https://palletsprojects.com/p/werkzeug/") (synopsis "Utilities for WSGI applications") (description "One of the most advanced WSGI utility modules. It includes a