public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [RFC][PATCH 00/14] Support Python freethreading
@ 2026-03-25 11:24 Zoltán Böszörményi
  2026-03-25 11:24 ` [RFC][PATCH 01/14] python3-dir.bbclass: Support python freethreading Zoltán Böszörményi
                   ` (15 more replies)
  0 siblings, 16 replies; 24+ messages in thread
From: Zoltán Böszörményi @ 2026-03-25 11:24 UTC (permalink / raw)
  To: openembedded-core; +Cc: Bartosz Golaszewski, Trevor Gamblin, Alexander Kanavin

This patchset allows turning on Python freethreading by using
a new DISTRO_FEATURES setting:

DISTRO_FEATURES += "python_freethreading"

and optionally:

DISTRO_FEATURES_NATIVE += "python_freethreading"

The change to python3-dir.bbclass is crucial, as all python module
build helper classes rely on it.

I also added native variants of some settings because another
series against meta-openembedded is needed to complete this one.
In that, the change to the fontforge recipe relies on the native
setting for setting BUILD_LDFLAGS.

All of the changes included here were successfully build tested,
except for the gdb-cross-canadian change. That one failed, but
it's included for completeness.

Quite a few of python modules were build tested for native and
target builds, including python3-pytorch from my meta-python-ai
with reduced RDEPENDS because e.g. python3-onnx there failed
to build with freethreading enabled.

All in all, this series at least allows to get things going.
Though maybe not for Yocto 6.0, as it's quite late.

Best regards,
Zoltán Böszörményi


^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2026-03-26  5:41 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-25 11:24 [RFC][PATCH 00/14] Support Python freethreading Zoltán Böszörményi
2026-03-25 11:24 ` [RFC][PATCH 01/14] python3-dir.bbclass: Support python freethreading Zoltán Böszörményi
2026-03-25 11:24 ` [RFC][PATCH 02/14] python3: Adapt recipe to freethreading Zoltán Böszörményi
2026-03-25 11:24 ` [RFC][PATCH 03/14] python3native.bbclass: Fix settings Zoltán Böszörményi
2026-03-25 11:24 ` [RFC][PATCH 04/14] python_pyo3.bbclass: Pass ABI flag and PYTHON_MAINVERSION Zoltán Böszörményi
2026-03-25 11:24 ` [RFC][PATCH 05/14] clang: Use PYTHON_MAINVERSION for python module versioning Zoltán Böszörményi
2026-03-25 11:24 ` [RFC][PATCH 06/14] gdb, gdb-cross-canadian: Fix settings for python freethreading Zoltán Böszörményi
2026-03-25 11:24 ` [RFC][PATCH 07/14] boost: " Zoltán Böszörményi
2026-03-25 11:24 ` [RFC][PATCH 08/14] lttng-tools: Simplify setting PYTHON_INCLUDE Zoltán Böszörményi
2026-03-25 11:24 ` [RFC][PATCH 09/14] lttng-ust: " Zoltán Böszörményi
2026-03-25 11:24 ` [RFC][PATCH 10/14] libcap-ng-python: Use PYTHON_DIR for FILES Zoltán Böszörményi
2026-03-25 11:24 ` [RFC][PATCH 11/14] hwlatdetect: Use PYTHON_DIR to support python freethreading Zoltán Böszörményi
2026-03-25 11:24 ` [RFC][PATCH 12/14] rpm: Support Python freethreading Zoltán Böszörményi
2026-03-25 11:24 ` [RFC][PATCH 13/14] xcb-proto: " Zoltán Böszörményi
2026-03-25 11:24 ` [RFC][PATCH 14/14] libxcb: " Zoltán Böszörményi
2026-03-25 12:58 ` [RFC][PATCH 00/14] " Alexander Kanavin
2026-03-25 13:08   ` Böszörményi Zoltán
2026-03-25 13:01 ` [OE-core] " Bruce Ashfield
2026-03-25 13:13   ` Böszörményi Zoltán
2026-03-25 13:17     ` Bruce Ashfield
2026-03-25 13:51       ` Böszörményi Zoltán
2026-03-25 14:17         ` Bruce Ashfield
2026-03-26  5:29           ` Böszörményi Zoltán
     [not found]           ` <18A04D0ADBD32036.57592@lists.openembedded.org>
2026-03-26  5:41             ` Böszörményi Zoltán

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox