commit:     24ca452f3ebb5b0e05cf5159137c272a554bff99
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Nov  5 02:26:48 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Nov  5 02:28:19 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24ca452f

dev-python/scipy: skip known-failing longstanding test failure

Known broken upstream for years (ditto in Gentoo). Other tests seem okay
and we're going to have to hope that's sufficient until there's a resolution
upstream.

Other distros are trying to battle this too.

Bug: https://bugs.gentoo.org/743295
Bug: https://github.com/scipy/scipy/issues/9245
Bug: https://github.com/scipy/scipy/issues/12401
Bug: https://github.com/scipy/scipy/issues/12471
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/scipy/scipy-1.7.1.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/dev-python/scipy/scipy-1.7.1.ebuild 
b/dev-python/scipy/scipy-1.7.1.ebuild
index d2dc22464cf..b972b925817 100644
--- a/dev-python/scipy/scipy-1.7.1.ebuild
+++ b/dev-python/scipy/scipy-1.7.1.ebuild
@@ -106,6 +106,11 @@ python_prepare_all() {
        sed -e "s:== 'levy_stable':in ('levy_stable', 'crystalball', 'ncf'):" \
                -i scipy/stats/tests/test_continuous_basic.py || die
 
+       # Skip known-failing test. Broken on all versions in Gentoo for years.
+       # bug #743295
+       sed -e 's:test_bisplev_integer_overflow:_&:' \
+                       -i scipy/interpolate/tests/test_fitpack.py || die
+
        if has_version ">=sci-libs/lapack-3.10"; then
                sed -e 's:test_sort(:_&:' \
                        -i scipy/linalg/tests/test_decomp.py || die

Reply via email to