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

commit 19919cf9e5df36189a81ce4b3313bf6aba983c2e
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Fri Nov 13 20:30:13 2026 +0000

    gnu: python-pygam: Fix build.
    
    * gnu/packages/bioinformatics.scm (python-pygam):
    [phases] {relax-requirement}: New phase.
---
 gnu/packages/bioinformatics.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 12978696fd1..a43241f7e5e 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -3782,7 +3782,13 @@ the managed genomes, STAR indexing and mapping and 
more.")
       #:test-flags
       ;; Assertion is not equal.
       #~(list (string-append "--deselect=pygam/tests/test_gridsearch.py::"
-                             "test_gridsearch_all_dimensions_independent"))))
+                             "test_gridsearch_all_dimensions_independent"))
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'relax-requirements
+            (lambda _
+              (substitute* "pyproject.toml"
+                (("scipy>=1.11.1,<1.17") "scipy")))))))
     (native-inputs
      (list python-matplotlib
            python-mock

Reply via email to