mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 06:46:50 +01:00
gnu: python-sanic-testing: Fix build.
* gnu/packages/python-web.scm (python-sanic-testing)[arguments]: Add #:phases.
This commit is contained in:
parent
92121b8e9d
commit
d9b497513f
1 changed files with 10 additions and 1 deletions
|
@ -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/")
|
||||
|
|
Loading…
Reference in a new issue