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