From 3a9b85ce6e12bfafd53c1704b0f0b2d111f6da8d Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Tue, 28 Oct 2025 20:29:25 +0100 Subject: [PATCH] gnu: python-aiosignal: Remove python-pytest-cov requirement. * gnu/packages/python-web.scm (python-aiosignal) [arguments]<#:phases>: Add phase 'avoid-pytest-cov-preload. [native-inputs]: Remove python-pytest-cov, python-wheel. Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-web.scm | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index e3363cd079..720ca088c8 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -2242,12 +2242,18 @@ for AsyncIO and mixed-type iterables.") (sha256 (base32 "1isin9bp256scp59lbr35h48nw5p5i84b6f9kh1c50w08vcyqzpl")))) (build-system pyproject-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'avoid-pytest-cov-preload + (lambda _ + (substitute* "pytest.ini" + (("-p pytest_cov") ""))))))) (native-inputs (list python-pytest python-pytest-asyncio - python-pytest-cov - python-setuptools - python-wheel)) + python-setuptools)) (propagated-inputs (list python-frozenlist)) (home-page "https://github.com/aio-libs/aiosignal")