From 709aed09362a804f47161883ed55bc7e91caf38e Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Mon, 16 Mar 2026 14:19:17 +0100 Subject: [PATCH] gnu: python-diskcache: Drop phase 'fix-pytest-config. * gnu/packages/python-xyz.scm (python-diskcache)[arguments] <#:phases>: Drop phase 'fix-pytest-config. <#:test-flags>: Keep ignoring addopts, as it also has other uneeded flags. Change-Id: I584128eed904c0d134e3a7292ffb65977b9f36b6 Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 322e6f93be..f456824021 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -25600,14 +25600,7 @@ executed more than a given number of times during a given period.") (build-system pyproject-build-system) (arguments (list - #:test-flags #~(list "--pyargs" "rbfly") - #:phases - #~(modify-phases %standard-phases - (add-after 'unpack 'fix-pytest-config - (lambda _ - ;; Drop test coverage requirements. - (substitute* "pyproject.toml" - ((".*addopts.*") ""))))))) + #:test-flags #~(list "-o" "addopts=''" "--pyargs" "rbfly"))) (native-inputs (list python-cython python-pytest