🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.ports.arm
Article #12

Bug#1152750: statsmodels FTBFS on armhf: test failure

#12
From: Adrian Bunk
Date: Sun, 01 Nov 2026 03:20
61 lines
4676 bytes
Source: statsmodels
Version: 0.15.0+dfsg-1
Severity: serious
Tags: ftbfs
X-Debbugs-Cc: debian-arm@lists.debian.org
User: debian-arm@lists.debian.org
Usertags: armhf

https://buildd.debian.org/status/fetch.php?pkg=statsmodels&arch=armhf&ver=0.15.0%2Bdfsg-2&stamp=1793461672&raw=0

...
=================================== FAILURES ===================================
_________________________ TestTTPowerOneS1.test_roots __________________________

self = <statsmodels.stats.tests.test_power.TestTTPowerOneS1 object at 0xea607ca8>

    def test_roots(self):
        kwds = copy.copy(self.kwds)
        kwds.update(self.kwds_extra)
        # kwds_extra are used as argument, but not as target for root
        for key in self.kwds:
            if key == "alpha":
                if (PLATFORM_WIN and isinstance(self, TestTTPowerOneS1)) or (
                    PLATFORM_OSX
                    and isinstance(self, (TestTTPowerOneS1, TestTTPowerTwoS1))
                ):
                    pytest.xfail(
                        f"alpha test failing test {self.__class__} for key {key} on "
                        f"recent SciPy on Windows and Darwin"
                    )
    
            value = kwds[key]
            kwds[key] = None
            try:
                result = self.cls().solve_power(**kwds)
            except Exception as exc:
                msg = (
                    f"class: {self.__class__.__name__}, key: {key}, "
                    f"value: {value}, kwds: {kwds}"
                )
                if isinstance(exc, ValueError) and "f(a) and f(b) must have different signs" in str(exc):
                    print(msg,exc)
                else:
                    raise AssertionError(msg) from exc
>           assert_allclose(result, value, rtol=0.001, err_msg=key + " failed")
E           AssertionError: 
E           Not equal to tolerance rtol=0.001, atol=0
E           alpha failed
E           Mismatched elements: 1 / 1 (100%)
E           Max absolute difference among violations: 29.94999975
E           Max relative difference among violations: 598.999995
E            ACTUAL: array(30.)
E            DESIRED: array(0.05)

statsmodels/stats/tests/test_power.py:105: AssertionError
...
=========================== short test summary info ============================
FAILED statsmodels/stats/tests/test_power.py::TestTTPowerOneS1::test_roots - ...
= 1 failed, 20848 passed, 394 skipped, 144 xfailed, 1 xpassed, 567 warnings in 1376.78s (0:22:56) =
E: pybuild pybuild:485: test: plugin custom failed with: exit code=1: cd /build/reproducible-path/statsmodels-0.15.0+dfsg/.pybuild/cpython3_3.14_statsmodels/build && python3.14 -m pytest -v -c /build/reproducible-path/statsmodels-0.15.0+dfsg/pyproject.toml /build/reproducible-path/statsmodels-0.15.0+dfsg/.pybuild/cpython3_3.14_statsmodels/build/statsmodels && rm -f /build/reproducible-path/statsmodels-0.15.0+dfsg/.pybuild/cpython3_3.14_statsmodels/build/test-data.xml
...
Technical Details
Message-ID: <NUugV-97Sr-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!newsfeed.xs3.de!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!newsfeed.xs3.de!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Adrian Bunk <bunk@debian.org>
Newsgroups: linux.debian.bugs.dist,linux.debian.ports.arm
Subject: Bug#1152750: statsmodels FTBFS on armhf: test failure
Date: Sun, 01 Nov 2026 04:20:01 +0100
Message-ID: <NUugV-97Sr-1@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Sun Nov  1 03:11:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Adrian Bunk <bunk@debian.org>, 1152750@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-arm@lists.debian.org, debian-science-maintainers@lists.alioth.debian.org
X-Debian-Pr-Message: report 1152750
X-Debian-Pr-Package: src:statsmodels
X-Debian-Pr-Keywords: ftbfs
X-Debian-Pr-Source: statsmodels
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Mailer: reportbug 13.2.0
X-Debian-User: bunk
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2000024
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 61
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sun, 01 Nov 2026 05:08:21 +0200
X-Original-Message-ID: <179350250114.59221.11668128629332523606.reportbug@localhost>