unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: jgart via Guix-patches via <guix-patches@gnu.org>
To: 50213@debbugs.gnu.org
Cc: Raghav Gururajan <rg@raghavgururajan.name>, jgart <jgart@dismail.de>
Subject: [bug#50213] [PATCH 1/6] gnu: python-werkzeug: Update to 2.0.1.
Date: Tue, 31 Aug 2021 23:09:53 -0400	[thread overview]
Message-ID: <20210901030958.16733-1-jgart@dismail.de> (raw)
In-Reply-To: <20210826150820.8836-1-jgart@dismail.de>

* 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 <rg@raghavgururajan.name>
---
 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
-- 
2.33.0





  parent reply	other threads:[~2021-09-01  3:12 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-26 15:08 [bug#50213] [PATCH] gnu: python-flask: Add missing propagated-inputs jgart via Guix-patches via
2021-08-26 15:15 ` [bug#50213] [PATCH 01/19] gnu: python-pytest-6: Update to 6.2.4 jgart via Guix-patches via
2021-08-26 15:15   ` [bug#50213] [PATCH 02/19] gnu: python-pytest-timeout: Update to 1.4.2 jgart via Guix-patches via
2021-08-26 15:15   ` [bug#50213] [PATCH 03/19] gnu: python-pytest-timeout: Add python-pytest-cov to propagated-inputs jgart via Guix-patches via
2021-08-26 15:15   ` [bug#50213] [PATCH 04/19] gnu: python-pytest-xprocess: Update to 0.18.1 jgart via Guix-patches via
2021-08-26 15:15   ` [bug#50213] [PATCH 05/19] gnu: python-pytest-xprocess: Add python-setuptools-scm to native-inputs jgart via Guix-patches via
2021-08-26 15:15   ` [bug#50213] [PATCH 06/19] gnu: python-pytest-xprocess: Fix linter warning to follow redirect jgart via Guix-patches via
2021-08-26 15:15   ` [bug#50213] [PATCH 07/19] gnu: python-greenlet: Update to 1.1.1 jgart via Guix-patches via
2021-08-26 15:15   ` [bug#50213] [PATCH 08/19] gnu: python-werkzeug: Update to 2.0.1 jgart via Guix-patches via
2021-08-26 15:15   ` [bug#50213] [PATCH 09/19] gnu: python-werkzeug: Add missing propagated-inputs jgart via Guix-patches via
2021-08-26 15:15   ` [bug#50213] [PATCH 10/19] gnu: python-werkzeug: Disable tests that require networking jgart via Guix-patches via
2021-08-26 21:50     ` Efraim Flashner
2021-08-26 15:15   ` [bug#50213] [PATCH 11/19] gnu: python-jinja2: Update to 3.0.1 jgart via Guix-patches via
2021-08-26 15:15   ` [bug#50213] [PATCH 12/19] gnu: python-itsdangerous: Update to 2.0.1 jgart via Guix-patches via
2021-08-26 21:50     ` Efraim Flashner
2021-08-26 22:35       ` jgart via Guix-patches via
2021-08-26 15:15   ` [bug#50213] [PATCH 13/19] gnu: python-markupsafe: " jgart via Guix-patches via
2021-08-26 15:15   ` [bug#50213] [PATCH 14/19] gnu: python-markupsafe: Fix linter warning to follow redirect jgart via Guix-patches via
2021-08-26 15:15   ` [bug#50213] [PATCH 15/19] gnu: Add python-dotenv jgart via Guix-patches via
2021-08-26 15:15   ` [bug#50213] [PATCH 16/19] gnu: python-flask: Update to 2.0.1 jgart via Guix-patches via
2021-08-26 15:15   ` [bug#50213] [PATCH 17/19] gnu: python-flask: Use add-installed-pythonpath in the check phase jgart via Guix-patches via
2021-08-26 15:15   ` [bug#50213] [PATCH 18/19] gnu: python-flask: Add missing native-inputs jgart via Guix-patches via
2021-08-26 15:15   ` [bug#50213] [PATCH 19/19] gnu: python-flask: Add missing propagated-inputs jgart via Guix-patches via
     [not found] ` <handler.50213.B.16299905344860.ack@debbugs.gnu.org>
2021-08-26 15:21   ` [bug#50213] Acknowledgement ([PATCH] gnu: python-flask: Add missing propagated-inputs.) jgart via Guix-patches via
2021-09-01  3:09 ` jgart via Guix-patches via [this message]
2021-09-01  3:09   ` [bug#50213] [PATCH 2/6] gnu: python-jinja2: Update to 3.0.1 jgart via Guix-patches via
2021-09-01  3:09   ` [bug#50213] [PATCH 3/6] gnu: python-itsdangerous: Update to 2.0.1 jgart via Guix-patches via
2021-09-01  3:09   ` [bug#50213] [PATCH 4/6] gnu: python-markupsafe: " jgart via Guix-patches via
2021-09-01  3:09   ` [bug#50213] [PATCH 5/6] gnu: Add python-dotenv jgart via Guix-patches via
2021-09-01  3:09   ` [bug#50213] [PATCH 6/6] gnu: python-flask: Update to 2.0.1 jgart via Guix-patches via
2021-09-01  3:24 ` [bug#50213] Updated patch set jgart via Guix-patches via

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=20210901030958.16733-1-jgart@dismail.de \
    --to=guix-patches@gnu.org \
    --cc=50213@debbugs.gnu.org \
    --cc=jgart@dismail.de \
    --cc=rg@raghavgururajan.name \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).