From 75cbf74adcc2160e454b435a5b92a19394338ce4 Mon Sep 17 00:00:00 2001 From: Debian Science Maintainers Date: Thu, 5 Jan 2023 20:34:52 +0000 Subject: [PATCH] Warn that armel may be broken armel tests sometimes crash (ignored in d/rules) Wrong answers have previously been seen on armel, and could be hidden by the crash Author: Rebecca N. Palmer Bug-Debian: https://bugs.debian.org/968210 Forwarded: no Gbp-Pq: Name 968210_warn_armel_untested.patch --- statsmodels/__init__.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/statsmodels/__init__.py b/statsmodels/__init__.py index 6b38351..50fb26c 100644 --- a/statsmodels/__init__.py +++ b/statsmodels/__init__.py @@ -1,3 +1,9 @@ +import platform +import sys +import os.path +if os.path.exists('/usr/lib/arm-linux-gnueabi'): + import warnings + warnings.warn("This appears to be an armel system, on which statsmodels is buggy (crashes and possibly wrong answers) - https://bugs.debian.org/968210") from statsmodels._version import __version__, __version_tuple__ debug_warnings = False -- 2.30.2