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 031681581D3 for ; Wed, 15 May 2024 14:20:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B7A5BE2A4F; Wed, 15 May 2024 14:20:56 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9927DE2A4F for ; Wed, 15 May 2024 14:20:56 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 91A28340775 for ; Wed, 15 May 2024 14:20:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A72601A8B for ; Wed, 15 May 2024 14:20:53 +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: <1715782721.60c1d43adfa2a17196ea83933e05415b33915465.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_p1.ebuild X-VCS-Directories: dev-lang/python/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 60c1d43adfa2a17196ea83933e05415b33915465 X-VCS-Branch: master Date: Wed, 15 May 2024 14:20:53 +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: 11b6ddfc-a457-4095-b3cf-18c7f038feae X-Archives-Hash: e180141c1c9d648b7689b5fc0593575f commit: 60c1d43adfa2a17196ea83933e05415b33915465 Author: Michał Górny gentoo org> AuthorDate: Wed May 15 14:18:41 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed May 15 14:18:41 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60c1d43a dev-lang/python: Add a warning for experimental flags Signed-off-by: Michał Górny gentoo.org> dev-lang/python/python-3.13.0_beta1_p1.ebuild | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dev-lang/python/python-3.13.0_beta1_p1.ebuild b/dev-lang/python/python-3.13.0_beta1_p1.ebuild index 7226cd952199..07234f97460a 100644 --- a/dev-lang/python/python-3.13.0_beta1_p1.ebuild +++ b/dev-lang/python/python-3.13.0_beta1_p1.ebuild @@ -117,6 +117,14 @@ QA_CONFIG_IMPL_DECL_SKIP=( chflags lchflags ) pkg_pretend() { use test && check-reqs_pkg_pretend + + if ! use gil || use jit; then + ewarn "USE=-gil and USE=jit flags are considered experimental upstream. Using" + ewarn "them could lead to unexpected breakage, including race conditions" + ewarn "and crashes, respectively. Please do not file Gentoo bugs, unless" + ewarn "you can reproduce the problem with dev-lang/python[gil,-jit]. Instead," + ewarn "please consider reporting freethreading / JIT problems upstream." + fi } pkg_setup() {