From patchwork Wed Sep 1 03:09:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: jgart X-Patchwork-Id: 32456 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 13F2E27BBE5; Wed, 1 Sep 2021 04:12:21 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 724DA27BBE3 for ; Wed, 1 Sep 2021 04:12:16 +0100 (BST) Received: from localhost ([::1]:51250 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mLGfe-00072w-Bg for patchwork@mira.cbaines.net; Tue, 31 Aug 2021 23:12:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55646) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLGfS-00072T-Vz for guix-patches@gnu.org; Tue, 31 Aug 2021 23:12:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52452) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mLGfS-000339-OS for guix-patches@gnu.org; Tue, 31 Aug 2021 23:12:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mLGfS-0004nr-Gh for guix-patches@gnu.org; Tue, 31 Aug 2021 23:12:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50213] [PATCH 1/6] gnu: python-werkzeug: Update to 2.0.1. References: <20210826150820.8836-1-jgart@dismail.de> In-Reply-To: <20210826150820.8836-1-jgart@dismail.de> Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 01 Sep 2021 03:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50213 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50213@debbugs.gnu.org Cc: Raghav Gururajan , jgart Received: via spool by 50213-submit@debbugs.gnu.org id=B50213.163046586618364 (code B ref 50213); Wed, 01 Sep 2021 03:12:02 +0000 Received: (at 50213) by debbugs.gnu.org; 1 Sep 2021 03:11:06 +0000 Received: from localhost ([127.0.0.1]:35749 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLGeS-0004lN-MG for submit@debbugs.gnu.org; Tue, 31 Aug 2021 23:11:05 -0400 Received: from mx1.dismail.de ([78.46.223.134]:41420) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLGeP-0004l3-Ia for 50213@debbugs.gnu.org; Tue, 31 Aug 2021 23:10:59 -0400 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id eae275d2; Wed, 1 Sep 2021 05:10:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:mime-version:content-transfer-encoding; s=20190914; bh=pC9llik4eIT2lyG2COQcL/O6UMmp0GgtVtHmt7MQEpg=; b= pluBak6ODHWsI3lFftPcnzCOkaXPBCVmPKVxXnc6H6gSy96rlIx7zUNoyNnCxisk wSxnkJlF2X9M0TgvNVjzhtJkzrCERMs+ZvU8Sesdz7aHN9a4BIYPISvW5C/tYsME A+Urwg1IujiMvgwntqXOD3uXbrNrrY0Kr4nPLQh499j1xBvbnMh/YzvgMJUf/uci dTuIJ22fbi2iNg+Y0G5aTvlU8xIp1c+32uXZg46hJTBKIPDYVG8nXgZAP1+Of9Vo 9xITOsdDW4afOV/ECPNNBDQG7kqNxjNemTe4Jte/tyAUC8iL4bduYSiwF5AIuTso cQtNCFXfA3fkQAs9vGZrXg== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id a0d59ed4; Wed, 1 Sep 2021 05:10:49 +0200 (CEST) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id 87e8c955; Wed, 1 Sep 2021 05:10:49 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 85f53d47 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Wed, 1 Sep 2021 05:10:48 +0200 (CEST) Date: Tue, 31 Aug 2021 23:09:53 -0400 Message-Id: <20210901030958.16733-1-jgart@dismail.de> X-Mailer: git-send-email 2.33.0 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: jgart X-ACL-Warn: , jgart via Guix-patches X-Patchwork-Original-From: jgart via Guix-patches via From: jgart X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-web.scm (python-werkzeug): Update to 2.0.1. [propagated-inputs]: Add python-pytest-xprocess and python-pytest-6. [arguments]: Disable tests that require an internet connection. Co-authored-by: Raghav Gururajan --- gnu/packages/python-web.scm | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 32b4aa4bf0..07db685e2a 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -4097,14 +4097,14 @@ List. Forked from and using the same API as the publicsuffix package.") (define-public python-werkzeug (package (name "python-werkzeug") - (version "1.0.1") + (version "2.0.1") (source (origin (method url-fetch) (uri (pypi-uri "Werkzeug" version)) (sha256 (base32 - "0z74sa1xw5h20yin9faj0vvdbq713cgbj84klc72jr9nmpjv303c")))) + "0hlwawnn8c41f254qify5jnjj8xb97n294h09bqimzqhs0qdpq8x")))) (build-system python-build-system) (arguments '(#:phases @@ -4112,13 +4112,19 @@ List. Forked from and using the same API as the publicsuffix package.") (delete 'check) (add-after 'install 'check (lambda* (#:key inputs outputs #:allow-other-keys) + ;; requires networking + (for-each delete-file + (list "tests/middleware/test_http_proxy.py" + "tests/test_serving.py" + "tests/test_debug.py")) (add-installed-pythonpath inputs outputs) - (invoke "python" "-m" "pytest")))))) + (invoke "pytest" "-vv")))))) (propagated-inputs `(("python-requests" ,python-requests))) (native-inputs - `(("python-pytest" ,python-pytest) - ("python-pytest-timeout" ,python-pytest-timeout))) + `(("python-pytest" ,python-pytest-6) + ("python-pytest-timeout" ,python-pytest-timeout) + ("python-pytest-xprocess" ,python-pytest-xprocess))) (home-page "https://palletsprojects.com/p/werkzeug/") (synopsis "Utilities for WSGI applications") (description "One of the most advanced WSGI utility modules. It includes a