mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-16 07:58:01 -05:00
gnu: python-sanic-testing: Update to 23.12.0.
* gnu/packages/python-web.scm (python-sanic-testing): Update to 23.12.0. [build-system]: Use pyproject-build-system. [arguments]: Remove 'loosen-requirements phase. [propagated-inputs]: Remove python-websockets. Change-Id: Ie1958070959692ae678ffeefda9ee8bafa86a5e6
This commit is contained in:
parent
4805153a17
commit
2268de7972
1 changed files with 5 additions and 15 deletions
|
@ -7132,29 +7132,19 @@ (define-public python-sanic-routing
|
||||||
(define-public python-sanic-testing
|
(define-public python-sanic-testing
|
||||||
(package
|
(package
|
||||||
(name "python-sanic-testing")
|
(name "python-sanic-testing")
|
||||||
(version "22.3.0")
|
(version "23.12.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "sanic-testing" version))
|
(uri (pypi-uri "sanic-testing" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1vkgi9d3xyik507j4jy9s74mkl81hgx3c2d5y3aa1av9h6wjjivp"))))
|
(base32 "0gqkzv90sbj9rw7yfly9c58lq9dq30g5hhcgjl3ihzjb66vm571b"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
;; PyPi sources does not contain tests, recursive dependency on
|
;; PyPi sources does not contain tests, recursive dependency on
|
||||||
;; python-sanic.
|
;; python-sanic.
|
||||||
(list #:tests? #f
|
(list #:tests? #f))
|
||||||
#:phases
|
(propagated-inputs (list python-httpx python-sanic-bootstrap))
|
||||||
#~(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/")
|
(home-page "https://github.com/sanic-org/sanic-testing/")
|
||||||
(synopsis "Test clients for Sanic")
|
(synopsis "Test clients for Sanic")
|
||||||
(description "Internal package for @code{python-sanic}, which is
|
(description "Internal package for @code{python-sanic}, which is
|
||||||
|
|
Loading…
Reference in a new issue