From 162179e787f4d196e809dd19c74b7ad8318d7ac1 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 3 Mar 2025 14:19:59 +0200 Subject: gnu: python-pandas: Skip some tests on 32bit systems. * gnu/packages/python-science.scm (python-pandas)[arguments]: Adjust the test-flags when not building on a 64bit system to skip some incompatible tests. Change-Id: Ic581cc6bf4ade2d92425c38df10bc45beaf4009e --- gnu/packages/python-science.scm | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'gnu/packages/python-science.scm') diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 679074c760b..7f352ca616a 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -3,7 +3,7 @@ ;;; Copyright © 2015 Federico Beffa ;;; Copyright © 2016 Ben Woodcroft ;;; Copyright © 2016 Hartmut Goebel -;;; Copyright © 2016, 2022-2024 Efraim Flashner +;;; Copyright © 2016, 2022-2025 Efraim Flashner ;;; Copyright © 2016-2020, 2022 Marius Bakke ;;; Copyright © 2019 Tobias Geerinckx-Rice ;;; Copyright © 2019, 2021, 2022, 2023, 2024 Maxim Cournoyer @@ -1467,7 +1467,14 @@ doing practical, real world data analysis in Python.") "test_savefig" ;; It requires a fresh python-tzdata, including new ;; timezones. - "test_repr") + "test_repr" + ;; These tests should be skipped on 32bit systems: + ;; Cannot cast array data from dtype('int64') to dtype('int32') + #$@(if (not (target-64bit?)) + #~("test_inf_bound_infinite_recursion" + "test_reindex_behavior_with_interval_index" + "test_repeating_interval_index_with_infs") + #~())) " and not ")) #:phases #~(modify-phases %standard-phases -- cgit v1.3