diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2024-05-02 23:01:14 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2024-05-05 22:38:17 +0200 |
commit | 360f9ea421a4e286f223fa635e5a715b3c9709f1 (patch) | |
tree | 9f4156af2f3ed04330a8c4ed5e7425416c8b5bdd /gnu/packages | |
parent | 714baf2295ff850a5aac6d44b5adc9dc6020c45b (diff) | |
download | guix-360f9ea421a4e286f223fa635e5a715b3c9709f1.tar.gz guix-360f9ea421a4e286f223fa635e5a715b3c9709f1.zip |
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
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/machine-learning.scm | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index dc6d292288..39b3a36b65 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -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 |