guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#55831] [PATCH 5/8] gnu: python-sanic-testing: Update requirements.


From: peter
Subject: [bug#55831] [PATCH 5/8] gnu: python-sanic-testing: Update requirements.
Date: Wed, 8 Jun 2022 16:55:34 -0400

From: Peter Polidoro <peter@polidoro.io>

* gnu/packages/python-web.scm (): Update to .
---
 gnu/packages/python-web.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 22c09af1ed..afa5473969 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6362,7 +6362,13 @@ (define-public python-sanic-testing
     (arguments
      ;; PyPi sources does not contain tests, recursive dependency on
      ;; python-sanic.
-     (list #:tests? #f))
+     '(#:tests? #f
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch-requirements
+           (lambda _
+             (substitute* "setup.py"
+               (("httpx>=0\\.18,<0\\.23") "httpx")))))))
     (propagated-inputs (list python-httpx python-sanic-bootstrap
                              python-websockets))
     (home-page "https://github.com/sanic-org/sanic-testing/";)
-- 
2.36.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]