From afbd988dde65cfe3949286a08be8fa06bc565468 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 27 Oct 2021 15:58:32 +0300 Subject: 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(-) (limited to 'gnu/packages') diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 7787003f03..11db797c8a 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) -- cgit v1.2.3