Thread View: linux.gentoo.dev
2 messages
2 total messages
Started by Ionen Wolkens
Mon, 02 Nov 2026 16:00
[gentoo-dev] [PATCH] waf-utils.eclass: drop PYTHON_REQ_USE="threads(+)" requirement
Author: 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
Re: [gentoo-dev] [PATCH] waf-utils.eclass: drop PYTHON_REQ_USE="threads(+)" requirement
Author: Sam James
Date: Mon, 02 Nov 2026 18:20
Date: Mon, 02 Nov 2026 18:20
61 lines
3184 bytes
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-----
--=-=-=--
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads