1 |
commit: 24ca452f3ebb5b0e05cf5159137c272a554bff99 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 5 02:26:48 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 5 02:28:19 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24ca452f |
7 |
|
8 |
dev-python/scipy: skip known-failing longstanding test failure |
9 |
|
10 |
Known broken upstream for years (ditto in Gentoo). Other tests seem okay |
11 |
and we're going to have to hope that's sufficient until there's a resolution |
12 |
upstream. |
13 |
|
14 |
Other distros are trying to battle this too. |
15 |
|
16 |
Bug: https://bugs.gentoo.org/743295 |
17 |
Bug: https://github.com/scipy/scipy/issues/9245 |
18 |
Bug: https://github.com/scipy/scipy/issues/12401 |
19 |
Bug: https://github.com/scipy/scipy/issues/12471 |
20 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
21 |
|
22 |
dev-python/scipy/scipy-1.7.1.ebuild | 5 +++++ |
23 |
1 file changed, 5 insertions(+) |
24 |
|
25 |
diff --git a/dev-python/scipy/scipy-1.7.1.ebuild b/dev-python/scipy/scipy-1.7.1.ebuild |
26 |
index d2dc22464cf..b972b925817 100644 |
27 |
--- a/dev-python/scipy/scipy-1.7.1.ebuild |
28 |
+++ b/dev-python/scipy/scipy-1.7.1.ebuild |
29 |
@@ -106,6 +106,11 @@ python_prepare_all() { |
30 |
sed -e "s:== 'levy_stable':in ('levy_stable', 'crystalball', 'ncf'):" \ |
31 |
-i scipy/stats/tests/test_continuous_basic.py || die |
32 |
|
33 |
+ # Skip known-failing test. Broken on all versions in Gentoo for years. |
34 |
+ # bug #743295 |
35 |
+ sed -e 's:test_bisplev_integer_overflow:_&:' \ |
36 |
+ -i scipy/interpolate/tests/test_fitpack.py || die |
37 |
+ |
38 |
if has_version ">=sci-libs/lapack-3.10"; then |
39 |
sed -e 's:test_sort(:_&:' \ |
40 |
-i scipy/linalg/tests/test_decomp.py || die |