efraim pushed a commit to branch core-updates-frozen
in repository guix.
commit afbd988dde65cfe3949286a08be8fa06bc565468
Author: Efraim Flashner <[email protected]>
AuthorDate: Wed Oct 27 15:58:32 2021 +0300
gnu: python-aiohttp: Fix test suite.
* gnu/packages/python-web.scm (python-aiohttp)[arguments]: Adjust custom
'check phase to not load uninstalled code.
[native-inputs]: Replace python-pytest with python-pytest-6.1.
---
gnu/packages/python-web.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 7787003..11db797 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -202,7 +202,7 @@ API rules.")
;; Disable loading the aiohttp coverage plugin
;; to avoid a circular dependency (code coverage
;; is not very interesting to us anyway).
- "-o" "addopts=''")
+ "-o" "addopts=''" "--ignore=aiohttp")
(format #t "test suite not run~%")))))))
(propagated-inputs
`(("python-aiodns" ,python-aiodns)
@@ -214,7 +214,7 @@ API rules.")
("python-typing-extensions" ,python-typing-extensions)
("python-yarl" ,python-yarl)))
(native-inputs
- `(("python-pytest" ,python-pytest)
+ `(("python-pytest" ,python-pytest-6.1)
("python-pytest-mock" ,python-pytest-mock)
("python-re-assert" ,python-re-assert)
("gunicorn" ,gunicorn-bootstrap)