gnu: python-sanic-testing: Fix build.

* gnu/packages/python-web.scm (python-sanic-testing)[arguments]: Add
 #:phases.
This commit is contained in:
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

View file

@ -6332,7 +6332,16 @@ (define-public python-sanic-testing
(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/")