commit: a17f08f85de320e70bd153c2e29fcb3c24044f5d
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 18 18:40:25 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Nov 18 20:13:08 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a17f08f8
dev-python/scipy: Enable pypy3
Sponsored-by: Ex Makhina, Inc. <info-gentoo <AT> exmakhina.com>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/scipy/scipy-1.11.3-r1.ebuild | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/dev-python/scipy/scipy-1.11.3-r1.ebuild
b/dev-python/scipy/scipy-1.11.3-r1.ebuild
index b64d27908ea9..7abc66ad2ceb 100644
--- a/dev-python/scipy/scipy-1.11.3-r1.ebuild
+++ b/dev-python/scipy/scipy-1.11.3-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=8
FORTRAN_NEEDED=fortran
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=meson-python
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
PYTHON_REQ_USE="threads(+)"
inherit fortran-2 distutils-r1 multiprocessing
@@ -119,6 +119,22 @@ python_test() {
)
fi
+ case ${EPYTHON} in
+ pypy3)
+ EPYTEST_DESELECT+=(
+ # TODO: fd leaks?
+
scipy/fft/_pocketfft/tests/test_real_transforms.py
+ # timeouts
+
scipy/sparse/linalg/tests/test_propack.py::test_examples
+ # hang or incredibly slow
+
scipy/optimize/tests/test_lsq_linear.py::TestBVLS::test_large_rank_deficient
+
scipy/optimize/tests/test_lsq_linear.py::TestTRF::test_large_rank_deficient
+ # TODO
+
'scipy/special/tests/test_data.py::test_boost[<Data for expi:
expinti_data_long_ipp-expinti_data_long>]'
+ )
+ ;;
+ esac
+
epytest -n "$(makeopts_jobs)" --dist=worksteal scipy
}