summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2026-08-06 17:11:40 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-08-08 23:02:32 +0100
commit19cb9b725714a2bf2a12f48c1d45c24e615e08ab (patch)
tree3da00de57d8d3bfaa292960ffe8a16f051110c11
parentf31bfcc193e6be8a7a79d3346cc126db600a4822 (diff)
gnu: python-numbagg: Ignore failing tests.
* gnu/packages/python-science.scm (python-numbagg)[arguments] {test-flags}: Ignore tests failing because of Pandas@3.0. These are edge cases, they probably don't affect other dependencies. Relates-to: guix/guix!10413 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/python-science.scm22
1 files changed, 19 insertions, 3 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 33e2f6ab29b..c70f82730a4 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -2473,9 +2473,25 @@ The supported distributions are:
2473 (list 2473 (list
2474 ;; tests: 613 passed, 1543 skipped, 1 xfailed, 1 warning 2474 ;; tests: 613 passed, 1543 skipped, 1 xfailed, 1 warning
2475 #:test-flags 2475 #:test-flags
2476 #~(list "--benchmark-disable" 2476 #~(cons* "--benchmark-disable"
2477 "--benchmark-skip" 2477 "--benchmark-skip"
2478 "--durations=10"))) 2478 "--durations=10"
2479 ;; pandas 3.0 raises instead of returning NaN for idxmax/idxmin on
2480 ;; all-NA groups; breaks these tests' pandas comparison, not numbagg
2481 ;; itself: https://github.com/numbagg/numbagg/issues/725
2482 (map
2483 (lambda (test)
2484 (string-append "--deselect=numbagg/test/test_grouped.py::test_"
2485 test))
2486 (list "group_pandas_comparison[float64-group_nanargmax-<lambda>-nanargmax]"
2487 "group_pandas_comparison[float64-group_nanargmin-<lambda>-nanargmin]"
2488 "all_nan_for_label[group_nanargmax-<lambda>-nanargmax]"
2489 "all_nan_for_label[group_nanargmin-<lambda>-nanargmin]"
2490 "single_nan_for_label[group_nanargmax-<lambda>-nanargmax]"
2491 "single_nan_for_label[group_nanargmin-<lambda>-nanargmin]"
2492 "all_values_are_nan[group_nanargmax-<lambda>-nanargmax]"
2493 "all_values_are_nan[group_nanargmin-<lambda>-nanargmin]"
2494 "groupby_empty_numeric_operations[group_nanargmin-<lambda>-nan]")))))
2479 (native-inputs 2495 (native-inputs
2480 (list python-bottleneck 2496 (list python-bottleneck
2481 python-pandas-minimal ;to slim down closure size 2497 python-pandas-minimal ;to slim down closure size