summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-06-28 09:11:42 +0200
committerMichał Górny <mgorny@gentoo.org>2023-06-28 09:21:39 +0200
commit122ddce1fa3d4b2f4bd357ea0e301aeadb4c3149 (patch)
tree2c7c359284618f6db8c609d15798477822d4af6f /dev-python/numpy
parentdev-python/meson-python: Enable pypy3 (diff)
downloadgentoo-122ddce1fa3d4b2f4bd357ea0e301aeadb4c3149.tar.gz
gentoo-122ddce1fa3d4b2f4bd357ea0e301aeadb4c3149.tar.bz2
gentoo-122ddce1fa3d4b2f4bd357ea0e301aeadb4c3149.zip
dev-python/numpy: Enable pypy3
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/numpy')
-rw-r--r--dev-python/numpy/numpy-1.25.0.ebuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/dev-python/numpy/numpy-1.25.0.ebuild b/dev-python/numpy/numpy-1.25.0.ebuild
index f3026380431e..fd279d3121df 100644
--- a/dev-python/numpy/numpy-1.25.0.ebuild
+++ b/dev-python/numpy/numpy-1.25.0.ebuild
@@ -5,7 +5,7 @@ EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=meson-python
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
PYTHON_REQ_USE="threads(+)"
FORTRAN_NEEDED=lapack
@@ -85,6 +85,13 @@ python_test() {
typing/tests/test_typing.py
)
+ if [[ ${EPYTHON} == pypy3 ]]; then
+ EPYTEST_DESELECT+=(
+ # TODO: crashed
+ lib/tests/test_histograms.py::TestHistogram::test_big_arrays
+ )
+ fi
+
if use arm && [[ $(uname -m || echo "unknown") == "armv8l" ]] ; then
# Degenerate case. arm32 chroot on arm64.
# bug #774108