From dbcc162116253eef747529a7e143a98aaeb04c32 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sun, 4 Jan 2026 11:17:38 +0000 Subject: [PATCH] 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 Signed-off-by: Rutherther --- 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 97795676c06342e5a441129174610c6beb4ed202..37901e6368f2975338f4d30f03d095cce3286bee 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))