From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 392D515806E for ; Thu, 25 May 2023 03:18:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 13C86E07E6; Thu, 25 May 2023 03:18:07 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EB3EBE07E2 for ; Thu, 25 May 2023 03:18:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 04F3E340D85 for ; Thu, 25 May 2023 03:18:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9399AA73 for ; Thu, 25 May 2023 03:18:04 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1684984461.87764eff9006d65c63b53bf4b3d4d03ea813f5d9.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/cython/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/cython/cython-0.29.35.ebuild X-VCS-Directories: dev-python/cython/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 87764eff9006d65c63b53bf4b3d4d03ea813f5d9 X-VCS-Branch: master Date: Thu, 25 May 2023 03:18:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 97f7385e-b684-4a84-9670-53510b21dcec X-Archives-Hash: c3016801a0c6c5454879466440e70680 commit: 87764eff9006d65c63b53bf4b3d4d03ea813f5d9 Author: Sam James gentoo org> AuthorDate: Thu May 25 02:57:19 2023 +0000 Commit: Sam James gentoo org> CommitDate: Thu May 25 03:14:21 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87764eff 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 gentoo.org> dev-python/cython/cython-0.29.35.ebuild | 6 ++++-- 1 file 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