mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 06:06:53 -05:00
gnu: python-pynndescent: Update to 0.5.5.
* gnu/packages/machine-learning.scm (python-pynndescent): Update to 0.5.5. [arguments]<#:phases>: Override 'check phase. [native-inputs]: Remove python-nose. Add python-pytest. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
parent
8fdd984f9c
commit
0848b5595c
1 changed files with 11 additions and 3 deletions
|
@ -1210,16 +1210,24 @@ (define-public python-threadpoolctl
|
|||
(define-public python-pynndescent
|
||||
(package
|
||||
(name "python-pynndescent")
|
||||
(version "0.5.2")
|
||||
(version "0.5.5")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "pynndescent" version))
|
||||
(sha256
|
||||
(base32 "0w87c2v0li2rdbx6qfc2lb6y6bxpdy3jwfgzfs1kcr4d1chj5zfr"))))
|
||||
(base32 "10pqqqc3jkpw03cyzy04slxmpgyhqnlgbyk0c1cv7kqr5d0zhzbs"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda* (#:key inputs outputs tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(add-installed-pythonpath inputs outputs)
|
||||
(invoke "python" "-m" "pytest" "--pyargs" "pynndescent")))))))
|
||||
(native-inputs
|
||||
(list python-nose))
|
||||
(list python-pytest))
|
||||
(propagated-inputs
|
||||
(list python-joblib python-llvmlite python-numba python-scikit-learn
|
||||
python-scipy))
|
||||
|
|
Loading…
Reference in a new issue