This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new dfe2e28417b gnu: python-typedunits: Fix tests.
dfe2e28417b is described below

commit dfe2e28417bf14d50e89e1b6607dd62327b973e0
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Nov 12 19:26:08 2026 +0000

    gnu: python-typedunits: Fix tests.
    
    * gnu/packages/python-science.scm (python-typedunits):
    [arguments] <test-flags>: Do not run perf tests.
    [phases] {fix-pytest-config}: New phase.
    
    Relates-to: guix/guix!12491
---
 gnu/packages/python-science.scm | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 3b49a8e2abb..9799f420330 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -6535,13 +6535,13 @@ tissue-specificity metrics for gene expression.")
     (arguments
      (list
       #:test-flags
-      ;; Tests are time sensitive.
-      #~(map (lambda (test) (string-append "--deselect=test_perf/" test))
-             (list "test_value_performance.py::test_perf_divmod"
-                   "test_value_performance.py::test_perf_parse_atom"
-                   "test_value_performance.py::test_perf_scale"))
+      #~(list "--ignore=test_perf/")        ;compute instance benchmark tests
       #:phases
       #~(modify-phases %standard-phases
+          (add-after 'unpack 'fix-pytest-config
+            (lambda _
+              (substitute* "pyproject.toml"
+                ((".*test_perf.*") ""))))
           (add-after 'unpack 'patch-requirements
             (lambda* (#:key inputs #:allow-other-keys)
               (substitute* "requirements.txt"

Reply via email to