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

commit c65f539dba05b8f96d6b896825f98a1ef4cb8af0
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Jan 6 22:04:39 2026 +0000

    gnu: python-pysm3: Relax requirements for NumPy and SciPy.
    
    * gnu/packages/astronomy.scm (python-pysm3):
    [phases] {relax-requirements}: New phase.
    
    Change-Id: I856c43fe9aa7d83cdb9fc71aa8687bf6648e0ba6
---
 gnu/packages/astronomy.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index abd9193102..e1f581cc0b 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -7798,7 +7798,12 @@ natively in Siril.")
               "tests")
       #:phases
       #~(modify-phases %standard-phases
-          (add-after 'unpack 'set-version
+          (add-after 'unpack 'relax-requirements
+            (lambda _
+              (substitute* "pyproject.toml"
+                (("scipy < 1.15") "scipy")
+                (("numpy < 2") "numpy")))) ; no constain on master branch
+          (add-before 'build 'set-version
             (lambda _
               (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
     (native-inputs

Reply via email to