commit: e63f893f5e1f8726a7bd4c75749b72b03cd9fdaa Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Mon Nov 20 16:12:41 2023 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Mon Nov 20 16:12:41 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e63f893f
dev-python/cleo: Enable pypy3 Sponsored-by: Ex Makhina, Inc. <info-gentoo <AT> exmakhina.com> Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/cleo/cleo-2.1.0.ebuild | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/dev-python/cleo/cleo-2.1.0.ebuild b/dev-python/cleo/cleo-2.1.0.ebuild index eeb083c81bf9..d8fa9f6dea6a 100644 --- a/dev-python/cleo/cleo-2.1.0.ebuild +++ b/dev-python/cleo/cleo-2.1.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..12} ) inherit distutils-r1 @@ -41,6 +41,16 @@ src_prepare() { } python_test() { + local EPYTEST_DESELECT=() + + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + tests/ui/test_exception_trace.py::test_render_debug_better_error_message_recursion_error + ) + ;; + esac + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 local -x PYTEST_PLUGINS=pytest_mock epytest