🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.ports.arm
1 messages
1 total messages Started by Adrian Bunk Sun, 01 Nov 2026 03:20
Bug#1152750: statsmodels FTBFS on armhf: test failure
#12
Author: 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
...
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads