From: "Zoltán Böszörményi" <zboszor@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: "Bartosz Golaszewski" <brgl@kernel.org>,
"Trevor Gamblin" <tgamblin@baylibre.com>,
"Alexander Kanavin" <alex.kanavin@gmail.com>,
"Bruce Ashfield" <bruce.ashfield@gmail.com>,
"Zoltán Böszörményi" <zboszor@gmail.com>
Subject: [PATCH 01/13] python3: Add warning comment before PACKAGECONFIG[freethreading]
Date: Thu, 26 Mar 2026 13:42:22 +0100 [thread overview]
Message-ID: <20260326125113.1853869-2-zboszor@gmail.com> (raw)
In-Reply-To: <20260326125113.1853869-1-zboszor@gmail.com>
The warning comment is really needed. While Python 3.14 supports
free-threading officially, the ecosystem around it does not yet.
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
---
meta/recipes-devtools/python/python3_3.14.3.bb | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/meta/recipes-devtools/python/python3_3.14.3.bb b/meta/recipes-devtools/python/python3_3.14.3.bb
index 7a1ad1e386..c23605f59c 100644
--- a/meta/recipes-devtools/python/python3_3.14.3.bb
+++ b/meta/recipes-devtools/python/python3_3.14.3.bb
@@ -112,7 +112,14 @@ CACHED_CONFIGUREVARS:append:libc-musl = "\
# PGO currently causes builds to not be reproducible so disable by default, see YOCTO #13407
PACKAGECONFIG ??= "editline gdbm ${@bb.utils.filter('DISTRO_FEATURES', 'lto', d)}"
+
+# Some LLVM/CLANG subprojects (e.g. lldb) and many Python modules
+# do not build when free-threading is enabled. Also, the support
+# for free-threading in many Python modules is not yet production level,
+# although they may build fine.
+# This is highly experimental. Do not enable it!
PACKAGECONFIG[freethreading] = "--disable-gil,--enable-gil"
+
PACKAGECONFIG[readline] = "--with-readline=readline,,readline,,,editline"
PACKAGECONFIG[editline] = "--with-readline=editline,,libedit,,,readline"
# Use profile guided optimisation by running PyBench inside qemu-user
--
2.53.0
next prev parent reply other threads:[~2026-03-26 12:51 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-26 12:42 Use PYTHON_DIR consistently Zoltán Böszörményi
2026-03-26 12:42 ` Zoltán Böszörményi [this message]
2026-03-26 12:42 ` [PATCH 02/13] python3-dir.bbclass: Move PYTHON_ABI into PYTHON_DIR Zoltán Böszörményi
2026-03-26 12:42 ` [PATCH 03/13] python3: Use the variables from python3-dir.bbclass Zoltán Böszörményi
2026-03-26 12:42 ` [PATCH 04/13] python3native.bbclass: Stop using PYTHON_ABI Zoltán Böszörményi
2026-03-26 12:42 ` [PATCH 05/13] python_pyo3.bbclass: Pass ABI flag and use PYTHON_MAINVERSION Zoltán Böszörményi
2026-03-26 12:42 ` [PATCH 06/13] clang: Use PYTHON_MAINVERSION for python module versioning Zoltán Böszörményi
2026-03-26 12:42 ` [PATCH 07/13] gdb, gdb-cross-canadian: Stop using PYTHON_ABI Zoltán Böszörményi
2026-03-26 12:42 ` [PATCH 08/13] boost: " Zoltán Böszörményi
2026-03-26 12:42 ` [PATCH 09/13] lttng-tools: " Zoltán Böszörményi
2026-03-26 12:42 ` [PATCH 10/13] lttng-ust: " Zoltán Böszörményi
2026-03-26 12:42 ` [PATCH 11/13] libcap-ng-python: Use PYTHON_DIR for FILES Zoltán Böszörményi
2026-03-26 12:42 ` [PATCH 12/13] hwlatdetect: Use PYTHON_DIR Zoltán Böszörményi
2026-03-26 12:42 ` [PATCH 13/13] libxcb: inherit python3native Zoltán Böszörményi
2026-03-26 13:06 ` [OE-core] " Alexander Kanavin
2026-03-26 13:26 ` Böszörményi Zoltán
[not found] ` <18A0671344EE5B33.57592@lists.openembedded.org>
2026-03-26 13:47 ` Böszörményi Zoltán
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260326125113.1853869-2-zboszor@gmail.com \
--to=zboszor@gmail.com \
--cc=alex.kanavin@gmail.com \
--cc=brgl@kernel.org \
--cc=bruce.ashfield@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=tgamblin@baylibre.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox