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 81BF51581D3 for ; Sat, 25 May 2024 04:09:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BACEFE29F4; Sat, 25 May 2024 04:09:27 +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 97F7EE29F4 for ; Sat, 25 May 2024 04:09:27 +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 A7E1133BEF5 for ; Sat, 25 May 2024 04:09:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3C18BED0 for ; Sat, 25 May 2024 04:09:25 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1716610159.8a39dad26ea2b0fe8bb8f0be5c1cd231c664fd4d.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/python/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/python/python-3.13.0_beta1_p2.ebuild X-VCS-Directories: dev-lang/python/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 8a39dad26ea2b0fe8bb8f0be5c1cd231c664fd4d X-VCS-Branch: master Date: Sat, 25 May 2024 04:09:25 +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: 9e7d85c9-033b-47a9-a0fe-e618448acf79 X-Archives-Hash: f5579765e659e309880506764f326ccf commit: 8a39dad26ea2b0fe8bb8f0be5c1cd231c664fd4d Author: Matoro Mahri matoro tk> AuthorDate: Thu May 23 20:49:21 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat May 25 04:09:19 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a39dad2 dev-lang/python: skip failing tests for niche arches Bug: https://bugs.gentoo.org/931888 Closes: https://bugs.gentoo.org/931908 Signed-off-by: Matoro Mahri matoro.tk> Closes: https://github.com/gentoo/gentoo/pull/36807 Signed-off-by: Michał Górny gentoo.org> dev-lang/python/python-3.13.0_beta1_p2.ebuild | 94 ++++++++++++++++++++++++--- 1 file changed, 85 insertions(+), 9 deletions(-) diff --git a/dev-lang/python/python-3.13.0_beta1_p2.ebuild b/dev-lang/python/python-3.13.0_beta1_p2.ebuild index 242a3b4165af..54b95e896355 100644 --- a/dev-lang/python/python-3.13.0_beta1_p2.ebuild +++ b/dev-lang/python/python-3.13.0_beta1_p2.ebuild @@ -33,8 +33,8 @@ LICENSE="PSF-2" SLOT="${PYVER}" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" IUSE=" - bluetooth build +debug +ensurepip examples gdbm +gil jit libedit - +ncurses pgo +readline +sqlite +ssl test tk valgrind + big-endian bluetooth build +debug +ensurepip examples gdbm +gil jit + libedit +ncurses pgo +readline +sqlite +ssl test tk valgrind " REQUIRED_USE="jit? ( ${LLVM_REQUIRED_USE} )" RESTRICT="!test? ( test )" @@ -276,6 +276,52 @@ src_configure() { -x test_capi ) + # Arch-specific skips. See #931888 for a collection of these. + case ${ARCH} in + hppa) + profile_task_flags+=( + -x test_descr + -x test_exceptions # bug 931908 + -x test_os + ) + ;; + ia64) + profile_task_flags+=( + -x test_ctypes + -x test_external_inspection # partial PGO only (flaky in src_test) + -x test_signal # PGO only + ) + ;; + mips) + profile_task_flags+=( + -x test_ctypes # partial PGO only (more fails) + -x test_external_inspection # PGO only + -x test_statistics + ) + ;; + ppc64) + if use big-endian; then + profile_task_flags+=( + -x test_descr + -x test_exceptions # PGO only, bug 931908 + ) + fi + ;; + riscv) + profile_task_flags+=( + -x test_statistics + -x test_urllib2 + ) + ;; + sparc) + profile_task_flags+=( + -x test_ctypes + -x test_descr + -x test_exceptions # bug 931908 + ) + ;; + esac + if has_version "app-arch/rpm" ; then # Avoid sandbox failure (attempts to write to /var/lib/rpm) profile_task_flags+=( @@ -428,13 +474,43 @@ src_test() { -x test_gdb ) - if use sparc ; then - # bug #788022 - test_opts+=( - -x test_multiprocessing_fork - -x test_multiprocessing_forkserver - ) - fi + # Arch-specific skips. See #931888 for a collection of these. + case ${ARCH} in + ia64) + test_opts+=( + -x test_ctypes + -x test_external_inspection + ) + ;; + mips) + test_opts+=( + -x test_ctypes + -x test_external_inspection + -x test_statistics + ) + ;; + ppc64) + if use big-endian; then + test_opts+=( -x test_descr ) + fi + ;; + riscv) + test_opts+=( + -x test_urllib2 + ) + ;; + sparc) + test_opts+=( + # bug 788022 + -x test_multiprocessing_fork + -x test_multiprocessing_forkserver + + -x test_ctypes + -x test_descr + -x test_exceptions # bug 931908 + ) + ;; + esac # workaround docutils breaking tests cat > Lib/docutils.py <<-EOF || die