Source: scipy
Version: 1.16.3-1
Severity: serious
Tags: ftbfs
User: [email protected]
Usertags: python3.14

Hi Maintainer

scipy FTBFS on i386 when built with Python 3.14 as a supported version [1].
I've copied what I hope is the relevant part of the log below.

Regards
Graham


[1] https://buildd.debian.org/status/logs.php?pkg=scipy&arch=i386


=================================== FAILURES ===================================
____________________________ TestCheby1.test_basic _____________________________

self = <scipy.signal.tests.test_filter_design.TestCheby1 object at 0xec5c8ca8>

    def test_basic(self):
        for N in range(25):
            wn = 0.01
            z, p, k = cheby1(N, 1, wn, 'low', analog=True, output='zpk')
            assert_array_almost_equal([], z)
            assert len(p) == N
            assert all(np.real(p) <= 0)  # No poles in right half of S-plane

        for N in range(25):
            wn = 0.01
            z, p, k = cheby1(N, 1, wn, 'high', analog=False, output='zpk')
            xp_assert_equal(np.ones(N), z)  # All zeros exactly at DC
            assert all(np.abs(p) <= 1)  # No poles outside unit circle

        # Same test as TestNormalize
        b, a = cheby1(8, 0.5, 0.048)
        assert_array_almost_equal(b, [
                             2.150733144728282e-11, 1.720586515782626e-10,
                             6.022052805239190e-10, 1.204410561047838e-09,
                             1.505513201309798e-09, 1.204410561047838e-09,
                             6.022052805239190e-10, 1.720586515782626e-10,
                             2.150733144728282e-11], decimal=14)
>       assert_array_almost_equal(a, [
                             1.000000000000000e+00, -7.782402035027959e+00,
                             2.654354569747454e+01, -5.182182531666387e+01,
                             6.334127355102684e+01, -4.963358186631157e+01,
                             2.434862182949389e+01, -6.836925348604676e+00,
                             8.412934944449140e-01], decimal=14)

N          = 24
a          = array([  1.        ,  -7.78240204,  26.5435457 , -51.82182532,
        63.34127355, -49.63358187,  24.34862183,  -6.83692535,
         0.84129349])
b          = array([2.15073272e-11, 1.72058618e-10, 6.02205162e-10,
1.20441032e-09,
       1.50551290e-09, 1.20441032e-09, 6.02205162e-10, 1.72058618e-10,
       2.15073272e-11])
k          = np.float64(0.6384835658206042)
p          = array([0.99938388-0.03141819j, 0.9991114 -0.03195271j,
       0.99878499-0.03307606j, 0.9983673 -0.03489287j,
       0...759099j,
       0.9983673 +0.03489287j, 0.99878499+0.03307606j,
       0.9991114 +0.03195271j, 0.99938388+0.03141819j])
self       = <scipy.signal.tests.test_filter_design.TestCheby1 object
at 0xec5c8ca8>
wn         = 0.01
z          = array([1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1.,
1., 1., 1., 1., 1.,
       1., 1., 1., 1., 1., 1., 1.])

_________________________ TestStudentT.test_moments_t __________________________

self = <scipy.stats.tests.test_distributions.TestStudentT object at 0xe6759768>

    def test_moments_t(self):
        # regression test for #8786
        assert_equal(stats.t.stats(df=1, moments='mvsk'),
                    (np.inf, np.nan, np.nan, np.nan))
        assert_equal(stats.t.stats(df=1.01, moments='mvsk'),
                    (0.0, np.inf, np.nan, np.nan))
        assert_equal(stats.t.stats(df=2, moments='mvsk'),
                    (0.0, np.inf, np.nan, np.nan))
        assert_equal(stats.t.stats(df=2.01, moments='mvsk'),
                    (0.0, 2.01/(2.01-2.0), np.nan, np.inf))
        assert_equal(stats.t.stats(df=3, moments='sk'), (np.nan, np.inf))
        assert_equal(stats.t.stats(df=3.01, moments='sk'), (0.0, np.inf))
        assert_equal(stats.t.stats(df=4, moments='sk'), (0.0, np.inf))
>       assert_equal(stats.t.stats(df=4.01, moments='sk'), (0.0, 6.0/(4.01 - 
> 4.0)))
E       AssertionError:
E       Items are not equal:
E       item=1
E
E        ACTUAL: np.float64(600.0000000000128)
E        DESIRED: 600.0000000000127

self       = <scipy.stats.tests.test_distributions.TestStudentT object
at 0xe6759768>

scipy/stats/tests/test_distributions.py:3900: AssertionError

Reply via email to