From 1b112c8d36ff4102883c0ca6191a15dbfcac7ec6 Mon Sep 17 00:00:00 2001 From: Debian Science Team Date: Tue, 11 Jan 2022 21:25:17 +0000 Subject: [PATCH] Warn that pandas is possibly broken on mips(64)(el) Tests disabled in d/rules Author: Rebecca N. Palmer Forwarded: not-needed Gbp-Pq: Name mips_warning.patch --- pandas/__init__.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pandas/__init__.py b/pandas/__init__.py index 0b04e1e0..97761875 100644 --- a/pandas/__init__.py +++ b/pandas/__init__.py @@ -2,6 +2,12 @@ __docformat__ = "restructuredtext" +import platform +import warnings +if 'mips' in platform.uname()[4]: + warnings.warn("This appears to be a mips system, on which pandas is buggy (may give wrong answers or crash)") +del platform, warnings + # Let users know if they're missing any of our hard dependencies hard_dependencies = ("numpy", "pytz", "dateutil") missing_dependencies = [] -- 2.30.2