commit: c7428a78173473f7c3f0ee38af443f0de004fd8f
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 19 15:58:01 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Feb 19 16:09:23 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7428a78
dev-python/executing: Enable pypy3.11
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/executing/executing-2.2.0.ebuild | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/dev-python/executing/executing-2.2.0.ebuild
b/dev-python/executing/executing-2.2.0.ebuild
index 635b40e71da5..643fe48d589f 100644
--- a/dev-python/executing/executing-2.2.0.ebuild
+++ b/dev-python/executing/executing-2.2.0.ebuild
@@ -4,7 +4,8 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( pypy3 python3_{10..13} )
+PYTHON_TESTED=( pypy3 python3_{10..13} )
+PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" pypy3_11 )
inherit distutils-r1 optfeature
@@ -36,6 +37,11 @@ distutils_enable_tests pytest
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
python_test() {
+ if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then
+ einfo "Skipping tests on ${EPYTHON}"
+ return
+ fi
+
local EPYTEST_DESELECT=()
case ${EPYTHON} in
pypy3)