commit: 838c7e32c72b666d8d5403a8ca75f7001415bd01
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 21 13:11:27 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Nov 21 13:36:44 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=838c7e32
dev-python/sympy: Enable pypy3
Sponsored-by: Ex Makhina, Inc. <info-gentoo <AT> exmakhina.com>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/sympy/sympy-1.12.ebuild | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/dev-python/sympy/sympy-1.12.ebuild
b/dev-python/sympy/sympy-1.12.ebuild
index 588e766d8a3a..83dca584780b 100644
--- a/dev-python/sympy/sympy-1.12.ebuild
+++ b/dev-python/sympy/sympy-1.12.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
inherit distutils-r1 virtualx
@@ -78,6 +78,15 @@ python_test() {
sympy/solvers/ode/tests/test_systems.py::test_nonlinear_3eq_order1_type3
)
+ case ${EPYTHON} in
+ pypy3)
+ EPYTEST_DESELECT+=(
+ #
https://foss.heptapod.net/pypy/pypy/-/issues/4032
+
sympy/tensor/array/tests/test_array_comprehension.py::test_arraycomprehensionmap
+ )
+ ;;
+ esac
+
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
nonfatal epytest --veryquickcheck ||
die -n "Tests failed with ${EPYTHON}"