mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-pytest-sanic: Relax requirement on websockets.
* gnu/packages/python-check.scm (python-pytest-sanic)[arguments]: Use plain list; add 'relax-requirements phase. [description]: Use complete sentence. Change-Id: I3c21380b4aa208da8a92270b6748b620a4a2dcc0
This commit is contained in:
parent
2268de7972
commit
d9aba13841
1 changed files with 19 additions and 10 deletions
|
@ -1,5 +1,5 @@
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2019, 2021, 2022, 2023 Ricardo Wurmus <rekado@elephly.net>
|
;;; Copyright © 2019, 2021-2024 Ricardo Wurmus <rekado@elephly.net>
|
||||||
;;; Copyright © 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
|
;;; Copyright © 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||||
;;; Copyright © 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
|
;;; Copyright © 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
|
||||||
;;; Copyright © 2019, 2020, 2021, 2022, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
;;; Copyright © 2019, 2020, 2021, 2022, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
||||||
|
@ -2142,18 +2142,27 @@ help in debugging failures and optimizing the scheduler to improve speed.")
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0shq1bqnydj0l3ipb73j1qh5kqcjvzkps30zk8grq3dwmh3wmnkr"))))
|
"0shq1bqnydj0l3ipb73j1qh5kqcjvzkps30zk8grq3dwmh3wmnkr"))))
|
||||||
|
;; We don't use pyproject-build-system because that would require
|
||||||
|
;; poetry.masonry.
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
;; Tests depend on python-sanic.
|
;; Tests depend on python-sanic.
|
||||||
`(#:tests? #f))
|
(list
|
||||||
|
#:tests? #f
|
||||||
|
#:phases
|
||||||
|
'(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'relax-requirements
|
||||||
|
(lambda _
|
||||||
|
(substitute* "setup.py"
|
||||||
|
(("websockets.*<11.0")
|
||||||
|
"websockets<12.0")))))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-httpx python-async-generator python-pytest
|
(list python-httpx python-async-generator python-pytest
|
||||||
python-websockets))
|
python-websockets))
|
||||||
(home-page
|
(home-page "https://github.com/yunstanford/pytest-sanic")
|
||||||
"https://github.com/yunstanford/pytest-sanic")
|
|
||||||
(synopsis "Pytest plugin for Sanic")
|
(synopsis "Pytest plugin for Sanic")
|
||||||
(description "A pytest plugin for Sanic. It helps you to test your
|
(description "This package provides a pytest plugin for Sanic. It helps
|
||||||
code asynchronously.")
|
you to test your code asynchronously.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public python-allpairspy
|
(define-public python-allpairspy
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue