guix-commits
[Top][All Lists]
Advanced

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

01/04: gnu: python-sanic-testing: Fix build.


From: guix-commits
Subject: 01/04: gnu: python-sanic-testing: Fix build.
Date: Wed, 22 Jun 2022 12:28:33 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit d9b497513f3c2beaa2ba828bc25374e1ffecbe43
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Wed Jun 22 17:53:07 2022 +0200

    gnu: python-sanic-testing: Fix build.
    
    * gnu/packages/python-web.scm (python-sanic-testing)[arguments]: Add
     #:phases.
---
 gnu/packages/python-web.scm | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index cbc2d843ea..e4f2c2fa2d 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6332,7 +6332,16 @@ the @code{BasicRouter}.")
     (arguments
      ;; PyPi sources does not contain tests, recursive dependency on
      ;; python-sanic.
-     (list #:tests? #f))
+     (list #:tests? #f
+           #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'unpack 'loosen-requirements
+                 (lambda _
+                   ;; Don't place an upper boundary on httpx version.
+                   ;; https://github.com/sanic-org/sanic-testing/pull/39
+                   (substitute* "setup.py"
+                     (("httpx>=0\\.18,<0\\.23")
+                      "httpx>=0.18")))))))
     (propagated-inputs (list python-httpx python-sanic-bootstrap
                              python-websockets))
     (home-page "https://github.com/sanic-org/sanic-testing/";)



reply via email to

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