1 |
commit: 9def9edcf54f2472273e176973deb19c1cf1ea14 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 5 05:56:19 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 5 05:56:49 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9def9edc |
7 |
|
8 |
dev-python/scipy: skip known-failing 32-bit tests |
9 |
|
10 |
There's some more work in 1.7.2 (coming soon) which should help a bit. |
11 |
|
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
dev-python/scipy/scipy-1.7.1-r1.ebuild | 15 +++++++++++++++ |
15 |
1 file changed, 15 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/scipy/scipy-1.7.1-r1.ebuild b/dev-python/scipy/scipy-1.7.1-r1.ebuild |
18 |
index 0ef732f5b19..d93785afefa 100644 |
19 |
--- a/dev-python/scipy/scipy-1.7.1-r1.ebuild |
20 |
+++ b/dev-python/scipy/scipy-1.7.1-r1.ebuild |
21 |
@@ -115,6 +115,21 @@ python_prepare_all() { |
22 |
sed -e 's:test_bisplev_integer_overflow:_&:' \ |
23 |
-i scipy/interpolate/tests/test_fitpack.py || die |
24 |
|
25 |
+ # Skip a few 32-bit related failures |
26 |
+ if use x86 ; then |
27 |
+ # TODO: Tidy this up and switch to epytest |
28 |
+ sed -i -e 's:test_nd_axis_m1:_&:' \ |
29 |
+ -e 's:test_nd_axis_0:_&:' \ |
30 |
+ -e 's:test_maxiter_worsening:_&:' \ |
31 |
+ -e 's:test_pdist_jensenshannon_iris:_&:' \ |
32 |
+ -e 's:test_align_vectors_single_vector:_&:' \ |
33 |
+ scipy/signal/tests/test_spectral.py \ |
34 |
+ scipy/sparse/linalg/isolve/tests/test_iterative.py \ |
35 |
+ scipy/spatial/tests/test_distance.py \ |
36 |
+ scipy/spatial/transform/tests/test_rotation.py || die |
37 |
+ fi |
38 |
+ |
39 |
+ |
40 |
if has_version ">=sci-libs/lapack-3.10"; then |
41 |
sed -e 's:test_sort(:_&:' \ |
42 |
-i scipy/linalg/tests/test_decomp.py || die |