Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 935383 - dev-python/scipy-1.13.1 fails tests: scipy/linalg/tests/test_decomp.py::TestEig::test_singular - AssertionError: Not equal to tolerance rtol=1e-13, atol=1e-13
Summary: dev-python/scipy-1.13.1 fails tests: scipy/linalg/tests/test_decomp.py::TestE...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL: https://github.com/scipy/scipy/pull/2...
Whiteboard:
Keywords: PATCH, TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-07-03 02:44 UTC by matoro
Modified: 2024-07-05 19:04 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log and emerge --info (build.log.xz,978.64 KB, application/x-xz)
2024-07-03 02:44 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2024-07-03 02:44:24 UTC
Created attachment 896826 [details]
build.log and emerge --info

Already reported and fixed upstream:
https://github.com/scipy/scipy/issues/20911
https://github.com/scipy/scipy/pull/20914

FAILED scipy/linalg/tests/test_decomp.py::TestEig::test_singular - AssertionError: 
Not equal to tolerance rtol=1e-13, atol=1e-13
 
array([[22, 34, 31, 31, 17],
       [45, 45, 42, 19, 29],
       [39, 47, 49, 26, 34],
       [27, 31, 26, 21, 15],
       [38, 44, 44, 24, 30]])
array([[13, 26, 25, 17, 24],
       [31, 46, 40, 26, 37],
       [26, 40, 19, 25, 25],
       [16, 25, 27, 14, 23],
       [24, 35, 18, 21, 22]])
Mismatched elements: 1 / 5 (20%)
Max absolute difference: 1.53003533e-13
Max relative difference: inf
 x: array([-1.044103e-14+0.j, -1.530035e-13+0.j, -9.371269e-14+0.j,
       -1.317794e-14+0.j, -9.193633e-14+0.j])
 y: array(0)
=========== 1 failed, 61408 passed, 2625 skipped, 245 xfailed, 14 xpassed, 15 warnings in 142.40s (0:02:22) ===========
Comment 1 Larry the Git Cow gentoo-dev 2024-07-05 19:04:37 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13d8f37a154f23e4aa1991851eabaec11143ba6e

commit 13d8f37a154f23e4aa1991851eabaec11143ba6e
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2024-07-05 19:04:04 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-07-05 19:04:04 +0000

    dev-python/scipy: Backport a test fix to 1.13.1
    
    Closes: https://bugs.gentoo.org/935383
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/scipy/files/scipy-1.13.1-test.patch | 46 ++++++++++++++++++++++++++
 dev-python/scipy/scipy-1.13.1.ebuild           |  5 +++
 2 files changed, 51 insertions(+)