gnu: python-pynndescent: Update to 0.5.6.
* gnu/packages/machine-learning.scm (python-pynndescent): Update to 0.5.6. [phases]{check}: Skip the test_weighted_minkowski test. [native-inputs, propagated-inputs]: Re-indent.
This commit is contained in:
parent
1d1f44b709
commit
06b0512260
1 changed files with 11 additions and 7 deletions
|
@ -1210,13 +1210,13 @@ for scientific computing and data science (e.g. BLAS and OpenMP).")
|
||||||
(define-public python-pynndescent
|
(define-public python-pynndescent
|
||||||
(package
|
(package
|
||||||
(name "python-pynndescent")
|
(name "python-pynndescent")
|
||||||
(version "0.5.5")
|
(version "0.5.6")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "pynndescent" version))
|
(uri (pypi-uri "pynndescent" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "10pqqqc3jkpw03cyzy04slxmpgyhqnlgbyk0c1cv7kqr5d0zhzbs"))))
|
(base32 "0p3jsdcprjfzz7qf5674dsqfpvdn6p4wgqikg7b6ki5abf433yv1"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
|
@ -1224,12 +1224,16 @@ for scientific computing and data science (e.g. BLAS and OpenMP).")
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda* (#:key inputs outputs tests? #:allow-other-keys)
|
(lambda* (#:key inputs outputs tests? #:allow-other-keys)
|
||||||
(when tests?
|
(when tests?
|
||||||
(add-installed-pythonpath inputs outputs)
|
(invoke "python" "-m" "pytest" "--pyargs" "pynndescent"
|
||||||
(invoke "python" "-m" "pytest" "--pyargs" "pynndescent")))))))
|
;; wminkowski no longer exists in scipy 1.8.0 (see:
|
||||||
(native-inputs
|
;; https://github.com/lmcinnes/pynndescent/issues/177)
|
||||||
(list python-pytest))
|
"-k" "not test_weighted_minkowski")))))))
|
||||||
|
(native-inputs (list python-pytest))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-joblib python-llvmlite python-numba python-scikit-learn
|
(list python-joblib
|
||||||
|
python-llvmlite
|
||||||
|
python-numba
|
||||||
|
python-scikit-learn
|
||||||
python-scipy))
|
python-scipy))
|
||||||
(home-page "https://github.com/lmcinnes/pynndescent")
|
(home-page "https://github.com/lmcinnes/pynndescent")
|
||||||
(synopsis "Nearest neighbor descent for approximate nearest neighbors")
|
(synopsis "Nearest neighbor descent for approximate nearest neighbors")
|
||||||
|
|
Reference in a new issue