Article View: linux.gentoo.dev
Article #82[gentoo-dev] [PATCH] waf-utils.eclass: drop PYTHON_REQ_USE="threads(+)" requirement
From: Ionen Wolkens
Date: Mon, 02 Nov 2026 16:00
Date: Mon, 02 Nov 2026 16:00
36 lines
2281 bytes
2281 bytes
The last python version that exposed this as a USE was dropped in 2021
(commit 9e0756d440b1, 3.10_rc1 era, final release removed it), there is
little reason to force consumers to keep setting this in 2026.
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
---
eclass/waf-utils.eclass | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/eclass/waf-utils.eclass b/eclass/waf-utils.eclass
index ac3b3534169d..4cbbef0d35d0 100644
--- a/eclass/waf-utils.eclass
+++ b/eclass/waf-utils.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: waf-utils.eclass
@@ -65,14 +65,6 @@ waf-utils_src_configure() {
eerror
fail=1
fi
-
- if [[ ${PYTHON_REQ_USE} != *threads* ]]; then
- eerror "Waf requires threading support in Python. To accommodate this requirement,"
- eerror "please add 'threads(+)' to PYTHON_REQ_USE variable (above inherit line)."
- eerror "For more information and examples, please see:"
- eerror " https://wiki.gentoo.org/wiki/Project:Python/waf-utils_integration"
- fail=1
- fi
fi
[[ ${fail} ]] && die "Invalid use of waf-utils.eclass"
--
2.56.0
Technical Details
Message-ID:
<NV2BX-9qKX-5@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod From: Ionen Wolkens <ionen@gentoo.org> Newsgroups: linux.gentoo.dev Subject: [gentoo-dev] [PATCH] waf-utils.eclass: drop PYTHON_REQ_USE="threads(+)" requirement Date: Mon, 02 Nov 2026 17:00:01 +0100 Message-ID: <NV2BX-9qKX-5@gated-at.bofh.it> X-Original-To: gentoo-dev@lists.gentoo.org X-Mailer: git-send-email 2.56.0 List-ID: Gentoo Linux mail <gentoo-dev.gentoo.org> Reply-To: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Approved: robomod@news.nic.it Lines: 36 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Mon, 2 Nov 2026 10:57:41 -0500 X-Original-Message-ID: <20261102155815.4672-1-ionen@gentoo.org>