[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
92/93: gnu: python-gpy: Update to 1.13.1.
From: |
guix-commits |
Subject: |
92/93: gnu: python-gpy: Update to 1.13.1. |
Date: |
Sun, 5 May 2024 16:45:05 -0400 (EDT) |
rekado pushed a commit to branch wip-python-team
in repository guix.
commit 1b44a23503809801856e48127332a1fc95c26464
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sat May 4 10:15:07 2024 +0200
gnu: python-gpy: Update to 1.13.1.
* gnu/packages/python-science.scm (python-gpy): Update to 1.13.1.
[source]: Remove snippet.
[build-system]: Use pyproject-build-system.
[arguments]: Remove phase 'remove-plotting-tests; add phase 'compatibility.
[native-inputs]: Remove python-nose and python-climin; add python-pytest,
python-matplotlib, and python-pods.
Change-Id: I1ed95e3ad2e8444979fd2cf272d7f3104b1bf2ec
---
gnu/packages/python-science.scm | 38 +++++++++++++++++++++++---------------
1 file changed, 23 insertions(+), 15 deletions(-)
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 6bfbdc9b71..67221c6307 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -2827,27 +2827,35 @@ for parameterized model creation and handling. Its
features include:
(define-public python-gpy
(package
(name "python-gpy")
- (version "1.10.0")
+ (version "1.13.1")
(source (origin
(method url-fetch)
(uri (pypi-uri "GPy" version))
(sha256
(base32
- "1yx65ajrmqp02ykclhlb0n8s3bx5r0xj075swwwigiqaippr7dx2"))
- (snippet
- #~(begin (use-modules (guix build utils))
- (substitute* "GPy/models/state_space_main.py"
- (("collections\\.Iterable")
"collections.abc.Iterable"))))))
- (build-system python-build-system)
+ "05d1ry4jpp0srsrmp3qd6s0p2bjc4c0z99450pzdr79vagbfvlk4"))))
+ (build-system pyproject-build-system)
(arguments
- `(#:phases (modify-phases %standard-phases
- (add-before 'check 'remove-plotting-tests
- ;; These fail
- (lambda _
- (delete-file "GPy/testing/plotting_tests.py"))))))
- (native-inputs (list python-cython python-nose python-climin))
- (propagated-inputs (list python-numpy python-paramz python-scipy
- python-six))
+ (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")))))))
+ (native-inputs
+ (list python-cython python-matplotlib python-pods python-pytest))
+ (propagated-inputs
+ (list python-numpy python-paramz python-scipy python-six))
(home-page "https://sheffieldml.github.io/GPy/")
(synopsis "The Gaussian Process Toolbox")
(description
- 16/93: gnu: Add python-fastcluster., (continued)
- 16/93: gnu: Add python-fastcluster., guix-commits, 2024/05/05
- 23/93: gnu: python-plastid: Replace nose with pytest., guix-commits, 2024/05/05
- 76/93: gnu: Add python-termcolor-1., guix-commits, 2024/05/05
- 87/93: gnu: python-plotnine: Fix version string., guix-commits, 2024/05/05
- 93/93: gnu: python-graphtools: Fix tests., guix-commits, 2024/05/05
- 82/93: gnu: python-bioframe: Update to 0.6.4., guix-commits, 2024/05/05
- 21/93: gnu: Add python-cvxpy., guix-commits, 2024/05/05
- 64/93: gnu: tadbit: Add R to inputs., guix-commits, 2024/05/05
- 68/93: gnu: snakemake-7: Make compatible with tabulate 0.9.0., guix-commits, 2024/05/05
- 83/93: gnu: python-cooltools: Update to 0.7.0., guix-commits, 2024/05/05
- 92/93: gnu: python-gpy: Update to 1.13.1.,
guix-commits <=
- 17/93: gnu: Add python-scs., guix-commits, 2024/05/05
- 51/93: gnu: python-tabulate: Enable tests and fix version string., guix-commits, 2024/05/05
- 75/93: gnu: python-pytest-shutil: Disable a test., guix-commits, 2024/05/05
- 22/93: gnu: Add python-metacells., guix-commits, 2024/05/05
- 65/93: gnu: python-imbalanced-learn: Update to 0.12.2., guix-commits, 2024/05/05
- 19/93: gnu: Add python-osqp., guix-commits, 2024/05/05
- 24/93: gnu: python-scikit-opt: Add missing input., guix-commits, 2024/05/05
- 31/93: gnu: python-scikit-learn: Update to 1.4.2., guix-commits, 2024/05/05
- 38/93: gnu: python-tables: Update to 3.7.0., guix-commits, 2024/05/05
- 41/93: gnu: Add python-dask-expr., guix-commits, 2024/05/05