[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
156/166: gnu: python-umap-learn: Update to 0.5.3.
From: |
guix-commits |
Subject: |
156/166: gnu: python-umap-learn: Update to 0.5.3. |
Date: |
Tue, 19 Apr 2022 09:12:35 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython+polyglossia
in repository guix.
commit 677e73ed64c378ce59ae70b35dbd72b32ce438b0
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Apr 18 20:09:37 2022 -0400
gnu: python-umap-learn: Update to 0.5.3.
* gnu/packages/machine-learning.scm (python-umap-learn): Update to 0.5.3.
[source]: Use git.
[arguments]: New field.
[native-inputs]: Delete python-joblib and python-nose. Add python-pytest.
[propagated-inputs]: Add python-pynndescent and python-tqdm.
[synopsis]: Fix indentation.
[description]: Fix typo and re-indent.
---
gnu/packages/machine-learning.scm | 40 ++++++++++++++++++++++++++-------------
1 file changed, 27 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/machine-learning.scm
b/gnu/packages/machine-learning.scm
index 5f14453f01..3897342345 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -2796,26 +2796,40 @@ These include a barrier, broadcast, and allreduce.")
(define-public python-umap-learn
(package
(name "python-umap-learn")
- (version "0.3.10")
+ (version "0.5.3")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "umap-learn" version))
+ (method git-fetch) ;no tests in pypi release
+ (uri (git-reference
+ (url "https://github.com/lmcinnes/umap")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
(base32
- "02ada2yy6km6zgk2836kg1c97yrcpalvan34p8c57446finnpki1"))))
+ "1315jkb0h1b579y9m59632f0nnpksilm01nxx46in0rq8zna8vsb"))))
(build-system python-build-system)
- (native-inputs
- (list python-joblib python-nose))
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (setenv "HOME" "/tmp")
+ (invoke "pytest" "-vv" "umap")))))))
+ (native-inputs (list python-pytest))
(propagated-inputs
- (list python-numba python-numpy python-scikit-learn python-scipy))
+ (list python-numba
+ python-numpy
+ python-pynndescent
+ python-scikit-learn
+ python-scipy
+ python-tqdm))
(home-page "https://github.com/lmcinnes/umap")
- (synopsis
- "Uniform Manifold Approximation and Projection")
- (description
- "Uniform Manifold Approximation and Projection is a dimension reduction
-technique that can be used for visualisation similarly to t-SNE, but also for
-general non-linear dimension reduction.")
+ (synopsis "Uniform Manifold Approximation and Projection")
+ (description "Uniform Manifold Approximation and Projection is a dimension
+reduction technique that can be used for visualization similarly to t-SNE, but
+also for general non-linear dimension reduction.")
(license license:bsd-3)))
(define-public nnpack
- 103/166: gnu: python-jupyter-core: Update to 4.10.0., (continued)
- 103/166: gnu: python-jupyter-core: Update to 4.10.0., guix-commits, 2022/04/19
- 120/166: gnu: python-sphinx: Propagate TexLive dependencies., guix-commits, 2022/04/19
- 114/166: gnu: Add python-jupyter-server-mathjax., guix-commits, 2022/04/19
- 111/166: gnu: Add texlive-unicode-math., guix-commits, 2022/04/19
- 117/166: gnu: python-notebook: Update to 6.4.10., guix-commits, 2022/04/19
- 139/166: gnu: python-sqlalchemy: Run tests in parallel via xdist., guix-commits, 2022/04/19
- 106/166: gnu: Add python-pytest-tornado., guix-commits, 2022/04/19
- 145/166: gnu: Add python-dictpath., guix-commits, 2022/04/19
- 142/166: gnu: Add python-aioredis., guix-commits, 2022/04/19
- 154/166: gnu: python-scikit-learn: Parallelize build and test suite., guix-commits, 2022/04/19
- 156/166: gnu: python-umap-learn: Update to 0.5.3.,
guix-commits <=
- 157/166: gnu: python-jupyter-server: Update to 1.16.0., guix-commits, 2022/04/19
- 158/166: gnu: python-voila: Update to 0.3.5., guix-commits, 2022/04/19
- 160/166: gnu: python-sparqlkernel: Use gexps and fix inputs., guix-commits, 2022/04/19