diff options
author | Sam James <sam@gentoo.org> | 2023-05-25 03:57:19 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-05-25 04:14:21 +0100 |
commit | 87764eff9006d65c63b53bf4b3d4d03ea813f5d9 (patch) | |
tree | 128b1c54f03b7b0985c564210c88bb069009ec2a /dev-python/cython | |
parent | dev-python/cython: use PYTHON_TESTED in 3.0.0_beta3 (diff) | |
download | gentoo-87764eff9006d65c63b53bf4b3d4d03ea813f5d9.tar.gz gentoo-87764eff9006d65c63b53bf4b3d4d03ea813f5d9.tar.bz2 gentoo-87764eff9006d65c63b53bf4b3d4d03ea813f5d9.zip |
dev-python/cython: enable py3.12, use PYTHON_TESTED logic from 3.0.0_beta3
Tests fail immediately trying to import the removed 'imp' module.
Bug: https://github.com/cython/cython/issues/5285
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/cython')
-rw-r--r-- | dev-python/cython/cython-0.29.35.ebuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/dev-python/cython/cython-0.29.35.ebuild b/dev-python/cython/cython-0.29.35.ebuild index cad4a983b39e..8bfbbd5b5663 100644 --- a/dev-python/cython/cython-0.29.35.ebuild +++ b/dev-python/cython/cython-0.29.35.ebuild @@ -5,7 +5,9 @@ EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..11} pypy3 ) +PYTHON_TESTED=( python3_{10..11} ) +# 3.12 not tested yet for https://github.com/cython/cython/issues/5285. +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_12 pypy3 ) PYTHON_REQ_USE="threads(+)" inherit distutils-r1 multiprocessing toolchain-funcs elisp-common @@ -61,7 +63,7 @@ python_compile_all() { } python_test() { - if has "${EPYTHON}" pypy3; then + if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then einfo "Skipping tests on ${EPYTHON} (xfail)" return fi |