commit:     ee61e60df88a71f78822307aa13cf253582ff4c4
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 24 14:04:00 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Oct 24 14:41:59 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee61e60d

dev-python/debugpy: Enable py3.12

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/debugpy/debugpy-1.8.0.ebuild | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/dev-python/debugpy/debugpy-1.8.0.ebuild 
b/dev-python/debugpy/debugpy-1.8.0.ebuild
index bf665f0da2e0..5324eccaca25 100644
--- a/dev-python/debugpy/debugpy-1.8.0.ebuild
+++ b/dev-python/debugpy/debugpy-1.8.0.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit distutils-r1 multiprocessing
 
@@ -61,6 +61,15 @@ python_test() {
        local EPYTEST_IGNORE=(
                tests/tests/test_vendoring.py
        )
+
+       case ${EPYTHON} in
+               python3.12)
+                       EPYTEST_DESELECT+=(
+                               tests/debugpy/test_flask.py
+                       )
+                       ;;
+       esac
+
        epytest -p timeout -p xdist -n "$(makeopts_jobs)" --dist=worksteal \
                -k "not attach_pid"
 }

Reply via email to