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.
This commit is contained in:
Efraim Flashner 2021-10-27 15:58:32 +03:00
parent 138c122fef
commit afbd988dde
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351

View File

@ -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)