mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-hdbscan: Update to 0.8.40.
* gnu/packages/machine-learning.scm (python-hdbscan): Update to 0.8.40. [arguments] <test-flags>: Ignore 3 test files. <phases>: Add 'pre-check. [native-inputs]: Remove python-nose, python-pandas, python-networkx, and python-wheel; add python-numpy. Change-Id: I38813d1cc16d4e90b5f0875dc93728bb42f4fa5d
This commit is contained in:
parent
58406f8bd0
commit
9ca78db0fe
1 changed files with 20 additions and 13 deletions
|
@ -2213,32 +2213,39 @@ for scientific computing and data science (e.g. BLAS and OpenMP).")
|
|||
(define-public python-hdbscan
|
||||
(package
|
||||
(name "python-hdbscan")
|
||||
(version "0.8.33")
|
||||
(version "0.8.40")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "hdbscan" version))
|
||||
(sha256
|
||||
(base32 "03gr70ys1zrnp15pxzhichvrdj5bj88p6p5k0wj8vx251rgvryjp"))))
|
||||
(base32 "05wask431fm78n1227dhvwsmlnys9d95vxjz0y8hbvmy2zzq7qy9"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:test-flags
|
||||
;; XXX: Test files which fail during test collection.
|
||||
#~(list "--ignore=hdbscan/tests/test_branches.py"
|
||||
"--ignore=hdbscan/tests/test_hdbscan.py"
|
||||
"--ignore=hdbscan/tests/test_rsl.py")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'check 'pre-check
|
||||
(lambda _
|
||||
(delete-file "hdbscan/tests/__init__.py")))
|
||||
(add-before 'check 'build-extensions
|
||||
(lambda _
|
||||
(invoke "python" "setup.py" "build_ext" "--inplace"))))))
|
||||
(propagated-inputs (list python-joblib
|
||||
python-numpy
|
||||
python-scikit-learn
|
||||
python-scipy))
|
||||
(native-inputs (list python-cython
|
||||
python-nose
|
||||
python-pytest
|
||||
python-pandas
|
||||
python-networkx
|
||||
python-setuptools
|
||||
python-wheel))
|
||||
(native-inputs
|
||||
(list python-cython
|
||||
python-numpy
|
||||
python-pytest
|
||||
python-setuptools))
|
||||
(propagated-inputs
|
||||
(list python-joblib
|
||||
python-numpy
|
||||
python-scikit-learn
|
||||
python-scipy))
|
||||
(home-page "https://github.com/scikit-learn-contrib/hdbscan")
|
||||
(synopsis "High performance implementation of HDBSCAN clustering")
|
||||
(description "HDBSCAN - Hierarchical Density-Based Spatial Clustering of
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue