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

commit 8d6750b301c04597524e4f07e9763f9170414858
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Jan 4 11:17:38 2026 +0000

    gnu: python-gpy: Use python-numpy@1.
    
    * gnu/packages/machine-learning.scm (python-gpy):
    [propagated-inputs]: Remove python-numpy; add python-numpy-1.
    
    Change-Id: Ie8740ce69188726c58b9a6ee753bdd3ac6b214a8
---
 gnu/packages/machine-learning.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/machine-learning.scm 
b/gnu/packages/machine-learning.scm
index cea34213ce..cc7050c084 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -516,6 +516,7 @@ classification.")
     (build-system pyproject-build-system)
     (arguments
      (list
+      ;; tests: 254 passed, 15 skipped, 1142679 warnings
       #:test-flags
       ;; TODO: Review tests.
       #~(list
@@ -532,8 +533,8 @@ classification.")
               ;; This file uses Python 2 statements
               (delete-file "GPy/testing/mpi_test__.py")
               (substitute* "setup.py"
-                (("scipy>=1.3.0,<1.12.0")
-                 "scipy>=1.3.0,<=1.13.0"))
+                (("scipy>=1.3.0,<=1.12.0")
+                 "scipy>=1.3.0"))
               ;; Use numpy.exp because scipy.ext no longer exists
               (substitute* "GPy/kern/src/sde_standard_periodic.py"
                 (("sp\\.exp") "np.exp"))
@@ -548,7 +549,7 @@ classification.")
            python-setuptools
            python-wheel))
     (propagated-inputs
-     (list python-numpy
+     (list python-numpy-1
            python-paramz
            python-scipy
            python-six))

Reply via email to