me
/
guix
Archived
1
0
Fork 0

gnu: python-sanic-testing: Fix build.

* gnu/packages/python-web.scm (python-sanic-testing)[arguments]: Add
 #:phases.
master
Marius Bakke 2022-06-22 17:53:07 +02:00
parent 92121b8e9d
commit d9b497513f
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 10 additions and 1 deletions

View File

@ -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/")