🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.gentoo.dev
Article #81

Re: [gentoo-dev] [PATCH] waf-utils.eclass: drop PYTHON_REQ_USE="threads(+)" requirement

#81
From: Sam James
Date: Mon, 02 Nov 2026 18:20
61 lines
3184 bytes
--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Ionen Wolkens <ionen@gentoo.org> writes:

> 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>
> ---

LGTM.

>  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
>=20=20
>  # @ECLASS: waf-utils.eclass
> @@ -65,14 +65,6 @@ waf-utils_src_configure() {
>  			eerror
>  			fail=3D1
>  		fi
> -
> -		if [[ ${PYTHON_REQ_USE} !=3D *threads* ]]; then
> -			eerror "Waf requires threading support in Python. To accommodate this=
 requirement,"
> -			eerror "please add 'threads(+)' to PYTHON_REQ_USE variable (above inh=
erit line)."
> -			eerror "For more information and examples, please see:"
> -			eerror "    https://wiki.gentoo.org/wiki/Project:Python/waf-utils_int=
egration"
> -			fail=3D1
> -		fi
>  	fi
>=20=20
>  	[[ ${fail} ]] && die "Invalid use of waf-utils.eclass"

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEBBAEWCgCpFiEEJaa7iN2bdkxrVUHCc4QJ9SDfkZAFAmro02YbFIAAAAAABAAO
bWFudTIsMi41KzEuMTIsMiwyXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25z
Lm9wZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQyNUE2QkI4OEREOUI3NjRDNkI1NTQx
QzI3Mzg0MDlGNTIwREY5MTkwDxxzYW1AZ2VudG9vLm9yZwAKCRBzhAn1IN+RkAYR
AQDVeDTKKSSGICkui09XtMOJNBXEv1Jk7uXQiDSD1kk3ygEAjncb3BaWiiS11kgf
12Kq/gU+2P1K5/Ob27EYEmqx1wo=
=RlcN
-----END PGP SIGNATURE-----
--=-=-=--
Technical Details
Message-ID: <NV4Nr-9s0o-9@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <NV2BX-9qKX-5@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Sam James <sam@gentoo.org>
Newsgroups: linux.gentoo.dev
Subject: Re: [gentoo-dev] [PATCH] waf-utils.eclass: drop  PYTHON_REQ_USE="threads(+)" requirement
Date: Mon, 02 Nov 2026 19:20:01 +0100
Message-ID: <NV4Nr-9s0o-9@gated-at.bofh.it>
References: <NV2BX-9qKX-5@gated-at.bofh.it>
X-Original-To: gentoo-dev@lists.gentoo.org
Organization: Gentoo
User-Agent: mu4e 1.14.4; emacs 31.1
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-Type: multipart/signed; boundary="=-=-=";
	micalg=pgp-sha512; protocol="application/pgp-signature"
Approved: robomod@news.nic.it
Lines: 61
Sender: robomod@news.nic.it
X-Original-Date: Mon, 02 Nov 2026 18:16:06 +0000
X-Original-Message-ID: <87fqxjgkux.fsf@gentoo.org>
X-Original-References: <20261102155815.4672-1-ionen@gentoo.org>