diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2026-08-03 16:16:53 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-08-08 23:02:28 +0100 |
| commit | 0da2412a6e4ae2105ee527b934dbee1810b6a6bf (patch) | |
| tree | a9240626e67f6573c95cf65591c3e8e9e4c750a4 | |
| parent | a9f4aa5a2d6c1d1db966cd6c5701746921f59a25 (diff) | |
gnu: python-cleanlab: Ignore failing tests.
* gnu/packages/machine-learning.scm (python-cleanlab)[arguments]
{test-flags}: Append some failing tests.
Signed-off-by: Andreas Enge <andreas@enge.fr>
| -rw-r--r-- | gnu/packages/machine-learning.scm | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index d398b3a26a0..3c88b30e56d 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm | |||
| @@ -3020,7 +3020,6 @@ standard feature selection algorithms.") | |||
| 3020 | (package | 3020 | (package |
| 3021 | (name "python-cleanlab") | 3021 | (name "python-cleanlab") |
| 3022 | (version "2.9.0") | 3022 | (version "2.9.0") |
| 3023 | ;; The version on pypi does not come with tests. | ||
| 3024 | (source (origin | 3023 | (source (origin |
| 3025 | (method git-fetch) | 3024 | (method git-fetch) |
| 3026 | (uri (git-reference | 3025 | (uri (git-reference |
| @@ -3051,7 +3050,13 @@ standard feature selection algorithms.") | |||
| 3051 | ;; AssertionError: assert 'Annotators [1] did not label any | 3050 | ;; AssertionError: assert 'Annotators [1] did not label any |
| 3052 | ;; examples.' in 'labels_multiannotator cannot have columns with | 3051 | ;; examples.' in 'labels_multiannotator cannot have columns with |
| 3053 | ;; all NaN, each annotator must annotator at least one example. | 3052 | ;; all NaN, each annotator must annotator at least one example. |
| 3054 | "--deselect=tests/test_multiannotator.py::test_label_quality_scores_multiannotator") | 3053 | "--deselect=tests/test_multiannotator.py::test_label_quality_scores_multiannotator" |
| 3054 | ;; These tests were not updated to the last numpy update. | ||
| 3055 | ;; Try enabling them on the next update. | ||
| 3056 | (string-append "--deselect=tests/test_object_detection.py::" | ||
| 3057 | "test_return_issues_ranked_by_scores") | ||
| 3058 | (string-append "--deselect=tests/test_object_detection.py::" | ||
| 3059 | "test_bad_input_find_label_issues_internal")) | ||
| 3055 | #:phases | 3060 | #:phases |
| 3056 | #~(modify-phases %standard-phases | 3061 | #~(modify-phases %standard-phases |
| 3057 | (add-after 'unpack 'remove-datasets | 3062 | (add-after 'unpack 'remove-datasets |
