guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit 302f35bad1ec7cc598b7964721511da9bb9ad58a
Author: Nicolas Graves <[email protected]>
AuthorDate: Mon Mar 16 14:09:52 2026 +0100

    gnu: python-diskcache: Drop phase 'fix-pytest-config.
    
    * gnu/packages/python-xyz.scm (python-diskcache)[arguments]
    <#:phases>: Drop phase 'fix-pytest-config.
    
    Change-Id: Idb05bb437377878cefb639e7f8537b4837e63fe9
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-xyz.scm | 14 ++------------
 1 file changed, 2 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 07deaff859..eb5dcdfe29 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -6387,22 +6387,12 @@ tasks rather than a standard compliant master 
implementation.")
       #~(list
          ;; Ignore flaky tests.
          ;; AssertionError: assert None == 100
-         "--deselect=tests/test_core.py::test_incr_update_keyerror")
-      #:phases
-      #~(modify-phases %standard-phases
-          (add-before 'check 'fix-pytest-config
-            (lambda _
-              (substitute* "tox.ini"
-                ;; no python-pytest-xdist
-                ((".*-n auto.*")
-                 "")
-                ;; no python-pytest-cov
-                ((".*--cov.*")
-                 "")))))))
+         "--deselect=tests/test_core.py::test_incr_update_keyerror")))
     (native-inputs
      (list python-django
            python-matplotlib
            python-pytest
+           python-pytest-xdist
            python-setuptools))
     (home-page "https://www.grantjenks.com/docs/diskcache/";)
     (synopsis "Disk and file backed cache library")

Reply via email to