commit:     32675df5e1db8b1e22f1eafd2176a703959bbeef
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 24 13:49:47 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Oct 24 14:41:58 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32675df5

dev-python/pydevd: Enable py3.12

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

 dev-python/pydevd/pydevd-2.10.0.ebuild | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/dev-python/pydevd/pydevd-2.10.0.ebuild 
b/dev-python/pydevd/pydevd-2.10.0.ebuild
index cf8e60163511..39f771c76b73 100644
--- a/dev-python/pydevd/pydevd-2.10.0.ebuild
+++ b/dev-python/pydevd/pydevd-2.10.0.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 DISTUTILS_EXT=1
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit distutils-r1 multiprocessing toolchain-funcs
 
@@ -105,6 +105,18 @@ python_test() {
                tests_python/test_debugger_json.py::test_pandas
        )
 
+       case ${EPYTHON} in
+               python3.12)
+                       EPYTEST_DESELECT+=(
+                               
tests_python/test_debugger_json.py::test_case_stop_async_iteration_exception
+                               
'tests_python/test_debugger.py::test_case_handled_and_unhandled_exception_generator[False-_debugger_case_unhandled_exceptions_listcomp.py]'
+                               
'tests_python/test_debugger_json.py::test_case_unhandled_exception_generator[_debugger_case_unhandled_exceptions_listcomp.py]'
+                               tests_python/test_debugger.py::test_case_13
+                               
tests_python/test_debugger_json.py::test_function_breakpoints_async
+                       )
+                       ;;
+       esac
+
        local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
        # this is only used to compare against getpid() to detect that xdist
        # is being used

Reply via email to