commit:     713f68f7a00a237d7384925a565eaacb31d9554c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon May 13 17:40:28 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon May 13 18:44:54 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=713f68f7

dev-python/numpy: Enable py3.13

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

 dev-python/numpy/numpy-2.0.0_rc2.ebuild | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/dev-python/numpy/numpy-2.0.0_rc2.ebuild 
b/dev-python/numpy/numpy-2.0.0_rc2.ebuild
index 9b86ed057d7a..0d97ca09f939 100644
--- a/dev-python/numpy/numpy-2.0.0_rc2.ebuild
+++ b/dev-python/numpy/numpy-2.0.0_rc2.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 DISTUTILS_EXT=1
 DISTUTILS_USE_PEP517=meson-python
-PYTHON_COMPAT=( python3_{10..12} pypy3 )
+PYTHON_COMPAT=( python3_{10..13} pypy3 )
 PYTHON_REQ_USE="threads(+)"
 FORTRAN_NEEDED=lapack
 
@@ -149,6 +149,15 @@ python_test() {
                        ;;
        esac
 
+       case ${EPYTHON} in
+               python3.13)
+                       EPYTEST_DESELECT+=(
+                               _core/tests/test_nditer.py::test_iter_refcount
+                               
_core/tests/test_limited_api.py::test_limited_api
+                       )
+                       ;;
+       esac
+
        if ! has_version -b "~${CATEGORY}/${P}[${PYTHON_USEDEP}]" ; then
                # depends on importing numpy.random from system namespace
                EPYTEST_DESELECT+=(

Reply via email to