From patchwork Wed Feb 28 10:15:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tanguy LE CARROUR X-Patchwork-Id: 61201 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 9A45227BBEA; Wed, 28 Feb 2024 10:17:16 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 05E8527BBE2 for ; Wed, 28 Feb 2024 10:17:16 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rfGzR-00078l-Mi; Wed, 28 Feb 2024 05:16:41 -0500 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 1rfGzQ-00077G-30 for guix-patches@gnu.org; Wed, 28 Feb 2024 05:16:40 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rfGzP-00064L-QT; Wed, 28 Feb 2024 05:16:39 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rfGzn-0003GU-Uk; Wed, 28 Feb 2024 05:17:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69449] [PATCH python-team 7/9] gnu: Add python-werkzeug-3. Resent-From: Tanguy Le Carrour Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Wed, 28 Feb 2024 10:17:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69449 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69449@debbugs.gnu.org Cc: Tanguy Le Carrour , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , jgart Received: via spool by 69449-submit@debbugs.gnu.org id=B69449.170911541912517 (code B ref 69449); Wed, 28 Feb 2024 10:17:03 +0000 Received: (at 69449) by debbugs.gnu.org; 28 Feb 2024 10:16:59 +0000 Received: from localhost ([127.0.0.1]:55659 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rfGzi-0003Fk-Lf for submit@debbugs.gnu.org; Wed, 28 Feb 2024 05:16:59 -0500 Received: from smtp-bc0d.mail.infomaniak.ch ([45.157.188.13]:39669) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rfGzg-0003Ew-LY for 69449@debbugs.gnu.org; Wed, 28 Feb 2024 05:16:57 -0500 Received: from smtp-3-0000.mail.infomaniak.ch (smtp-3-0000.mail.infomaniak.ch [10.4.36.107]) by smtp-4-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4Tl9HX1pbjzDXh; Wed, 28 Feb 2024 11:16:24 +0100 (CET) Received: from unknown by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4Tl9HW6MyMz1Pw; Wed, 28 Feb 2024 11:16:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bioneland.org; s=20230804; t=1709115384; bh=gjW9Ukk/q8A4qciaB5iPlTT4r0vfGThdAEFv8Zj6svo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=O/0m5pwR5TK0y405fQdiIvNBd+kwvf6tkrClijsd4ubcZkF8/fogwBHC63mJjg5DN JsZ/QY6WcJSxATuXOMINhaK9IXSvWlYURZ6yqSUF10NN79y++KPffWMAfVf56uEZFT +MvSSCp3FzXRbl9XyKAM18if9uTYekkeGnP6R6mGArciGRGsnCtzvk0DSmrnmIZ6IQ TwDoKok0MClELVz7l5qv34L+bACjgHifetUHejV7/mou0cLEoh3IeJoSjJ4UIzkSzm 2XFmdjcmP47uj0xCu7RMcJwJ4BjHYiHQ91VON5ZK+kg2FiEqSdmtuQco/biR0JFx2h GgEAUBbS936gg== From: Tanguy Le Carrour Date: Wed, 28 Feb 2024 11:15:37 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-Infomaniak-Routing: alpha 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-web.scm (python-werkzeug-3): New variable. Change-Id: I9e53b3a5e303cc36aeaf7b3cfb678fb6aab1b6a7 --- gnu/packages/python-web.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 960ad0d879..e8edc1604c 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -5030,6 +5030,41 @@ (define-public python-werkzeug-1.0 (native-inputs (list python-pytest python-pytest-timeout)))) +(define-public python-werkzeug-3 + (package + (name "python-werkzeug") + (version "3.0.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "werkzeug" version)) + (sha256 + (base32 "1k0x7fxlbvshcpbr9d16z2w1s3irngadwyll0jj1hax7rqg82zjh")))) + (build-system pyproject-build-system) + (arguments + '(#:phases (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? inputs outputs #:allow-other-keys) + (when tests? + ;; Some tests rely on the network and on a newer version + ;; or python-watchdog. + (delete-file "tests/test_serving.py") + (invoke "python" "-m" "pytest"))))))) + (propagated-inputs (list)) + (native-inputs (list python-ephemeral-port-reserve python-flit-core + python-markupsafe python-watchdog + python-pytest python-pytest-timeout + python-pytest-xprocess)) + (home-page "https://werkzeug.palletsprojects.com") + (synopsis "Utilities for WSGI applications") + (description + "One of the most advanced WSGI utility modules. It includes a +powerful debugger, full-featured request and response objects, HTTP utilities to +handle entity tags, cache control headers, HTTP dates, cookie handling, file +uploads, a powerful URL routing system and a bunch of community-contributed +addon modules.") + (license license:bsd-3))) + (define-public python-werkzeug python-werkzeug-2) (define-public python-bottle