~ruther/guix-local

dbcc162116253eef747529a7e143a98aaeb04c32 — Sharlatan Hellseher 4 months ago 0a414eb
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 <rutherther@ditigal.xyz>
1 files changed, 4 insertions(+), 3 deletions(-)

M gnu/packages/machine-learning.scm
M gnu/packages/machine-learning.scm => gnu/packages/machine-learning.scm +4 -3
@@ 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))