commit:     2389fb5952e5219d5be4631511852e726db7fa31
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 24 19:35:37 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Oct 24 21:11:22 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2389fb59

dev-python/pythran: Enable py3.12

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

 dev-python/pythran/pythran-0.14.0.ebuild | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/dev-python/pythran/pythran-0.14.0.ebuild 
b/dev-python/pythran/pythran-0.14.0.ebuild
index 1d8dab634461..0cfd10c37eba 100644
--- a/dev-python/pythran/pythran-0.14.0.ebuild
+++ b/dev-python/pythran/pythran-0.14.0.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_TESTED=( python3_{10..11} )
+PYTHON_TESTED=( python3_{10..12} )
 PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" )
 
 inherit distutils-r1 multiprocessing
@@ -69,6 +69,20 @@ python_test() {
                
pythran/tests/test_distutils.py::TestDistutils::test_setup_build2
        )
 
+       case ${EPYTHON} in
+               python3.12)
+                       EPYTEST_DESELECT+=(
+                               
pythran/tests/test_cases.py::TestCases::test_convnet_run0
+                               
pythran/tests/test_advanced.py::TestAdvanced::test_matmul_operator
+                               
pythran/tests/test_distutils.py::TestDistutils::test_setup_{b,s}dist_install3
+                               
pythran/tests/test_cases.py::TestCases::test_euclidean_distance_square_run0
+                               
pythran/tests/test_numpy_func2.py::TestNumpyFunc2::test_matrix_power{0..2}
+                               
pythran/tests/test_numpy_func3.py::TestNumpyFunc3::test_dot{5,7,9,11,12b,13,14b}
+                               
pythran/tests/test_numpy_func3.py::TestNumpyFunc3::test_dot{15..23}
+                       )
+                       ;;
+       esac
+
        local -x COLUMNS=80
        local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
        epytest -p xdist -n "$(makeopts_jobs)"

Reply via email to