me
/
guix
Archived
1
0
Fork 0

gnu: python-cleanlab: Update to 2.6.3.

* gnu/packages/machine-learning.scm (python-cleanlab): Update to 2.6.3.
[arguments]: Disable tests that require "datasets" package; add phase
'remove-datasets.

Change-Id: I6af99e3e749a10515328db4874974a3504658352
master
Ricardo Wurmus 2024-05-02 23:01:14 +02:00
parent 714baf2295
commit 360f9ea421
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 11 additions and 3 deletions

View File

@ -2054,7 +2054,7 @@ standard feature selection algorithms.")
(define-public python-cleanlab
(package
(name "python-cleanlab")
(version "2.2.0")
(version "2.6.3")
;; The version on pypi does not come with tests.
(source (origin
(method git-fetch)
@ -2064,7 +2064,7 @@ standard feature selection algorithms.")
(file-name (git-file-name name version))
(sha256
(base32
"00dqhxpwg781skknw943ynll2s44g4j125dx8aapk1d5d71sbzqy"))))
"1f5iq4f8rzvn8scrwgfvc9qaqs9h159wiiy7wp6526frr67xk918"))))
(build-system pyproject-build-system)
(arguments
(list
@ -2074,8 +2074,16 @@ standard feature selection algorithms.")
'(list "-k" "not test_aux_inputs"
;; Requires Tensorflow
"--ignore=tests/test_frameworks.py"
;; These need datasets, which needs jax, so it could only live in
;; the guix-science channel.
"--ignore-glob=tests/datalab/**"
;; Tries to download datasets from the internet at runtime.
"--ignore=tests/test_dataset.py")))
"--ignore=tests/test_dataset.py")
#:phases
'(modify-phases %standard-phases
(add-after 'unpack 'remove-datasets
(lambda _
(delete-file "tests/datalab/conftest.py"))))))
(propagated-inputs
(list python-numpy
python-pandas