summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-01-16 14:24:35 +0000
committerRicardo Wurmus <rekado@elephly.net>2025-01-20 21:37:59 +0100
commit574baf7cb5978babff52d4712f7ec1ec54607f52 (patch)
treefa7bf9c2da4ad6621c572658723d3253db9ca20e
parent5223530ab2e2f45c3c26fe26fc3082e505c7baad (diff)
gnu: python-cleanlab: Update to 2.7.0.
* gnu/packages/machine-learning.scm (python-cleanlab): Update to 2.7.0. [arguments] <test-flags>: Ignore tests requiring Hugging Face datasets. [native-inputs]: Remove python-pytest-lazy-fixture; add python-typing-extensions. Change-Id: I7988b4c0b6dff10a44d4a1fbffa48b950158302c
-rw-r--r--gnu/packages/machine-learning.scm16
1 files changed, 10 insertions, 6 deletions
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index 10a2f4a0595..d5ba227a7c0 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -2233,7 +2233,7 @@ standard feature selection algorithms.")
(define-public python-cleanlab
(package
(name "python-cleanlab")
- (version "2.6.3")
+ (version "2.7.0")
;; The version on pypi does not come with tests.
(source (origin
(method git-fetch)
@@ -2243,7 +2243,7 @@ standard feature selection algorithms.")
(file-name (git-file-name name version))
(sha256
(base32
- "1f5iq4f8rzvn8scrwgfvc9qaqs9h159wiiy7wp6526frr67xk918"))))
+ "0f8v5246nzy22r7zswv9vbpxc7wxaqjwry9iq0fqjp2ffch88h6j"))))
(build-system pyproject-build-system)
(arguments
(list
@@ -2257,7 +2257,10 @@ standard feature selection algorithms.")
;; 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"
+ ;; Test requiring not packaged dataset.
+ "--ignore=tests/spurious_correlation/test_correlation_visualizer.py"
+ "--ignore=tests/spurious_correlation/test_spurious_correlation.py")
#:phases
'(modify-phases %standard-phases
(add-after 'unpack 'remove-datasets
@@ -2270,11 +2273,12 @@ standard feature selection algorithms.")
python-termcolor
python-tqdm))
(native-inputs
- (list python-pytest
- python-pytest-lazy-fixture
+ (list ;; python-dataset ; https://github.com/huggingface/datasets
+ python-pytest
python-pytorch
- python-torchvision
python-setuptools
+ python-torchvision
+ python-typing-extensions
python-wheel))
(home-page "https://cleanlab.ai")
(synopsis "Automatically find and fix dataset issues")