aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-03-22 22:34:46 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-03-23 00:12:27 +0000
commit6ac3bc012fba7b9e9d31c12ce4eae0f4638e3c58 (patch)
treeffa9656a9b1fa4ccc259b8a865c77d8186b8be8b
parentaaf4bf1491dca1e8cd3bfff85226e244c2af968a (diff)
downloadguix-6ac3bc012fba7b9e9d31c12ce4eae0f4638e3c58.tar.gz
guix-6ac3bc012fba7b9e9d31c12ce4eae0f4638e3c58.zip
gnu: python-gpy: Update to 1.13.2.
* gnu/packages/python-science.scm (python-gpy): Update to 1.13.2. Fix build and refresh package style. [native-inputs]: Add python-setuptools and python-wheel. Change-Id: I446821dace8cc9c99543f0940e400ca4fc081b08
-rw-r--r--gnu/packages/python-science.scm54
1 files changed, 31 insertions, 23 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 58abc3acee..265eee6233 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -3754,35 +3754,43 @@ for parameterized model creation and handling. Its features include:
(define-public python-gpy
(package
(name "python-gpy")
- (version "1.13.1")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "GPy" version))
- (sha256
- (base32
- "05d1ry4jpp0srsrmp3qd6s0p2bjc4c0z99450pzdr79vagbfvlk4"))))
+ (version "1.13.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "GPy" version))
+ (sha256
+ (base32 "083rl8nr4nmmr1pzn0g8gsc4wi9dnhj3jjhkwsssadm5vns5d0m3"))))
(build-system pyproject-build-system)
(arguments
(list
#:phases
- '(modify-phases %standard-phases
- (add-after 'unpack 'compatibility
- (lambda _
- ;; 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"))
- ;; Use numpy.exp because scipy.ext no longer exists
- (substitute* "GPy/kern/src/sde_standard_periodic.py"
- (("sp\\.exp") "np.exp"))
- (substitute* "GPy/kern/src/sde_stationary.py"
- (("sp\\.poly1d") "np.poly1d")
- (("sp\\.roots") "np.roots")))))))
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'compatibility
+ (lambda _
+ ;; 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"))
+ ;; Use numpy.exp because scipy.ext no longer exists
+ (substitute* "GPy/kern/src/sde_standard_periodic.py"
+ (("sp\\.exp") "np.exp"))
+ (substitute* "GPy/kern/src/sde_stationary.py"
+ (("sp\\.poly1d") "np.poly1d")
+ (("sp\\.roots") "np.roots")))))))
(native-inputs
- (list python-cython python-matplotlib python-pods python-pytest))
+ (list python-cython
+ python-matplotlib
+ python-pods
+ python-pytest
+ python-setuptools
+ python-wheel))
(propagated-inputs
- (list python-numpy python-paramz python-scipy python-six))
+ (list python-numpy
+ python-paramz
+ python-scipy
+ python-six))
(home-page "https://sheffieldml.github.io/GPy/")
(synopsis "The Gaussian Process Toolbox")
(description