From d9b497513f3c2beaa2ba828bc25374e1ffecbe43 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Wed, 22 Jun 2022 17:53:07 +0200 Subject: 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/") -- cgit v1.2.3