2026. 03. 25. 13:58 keltezéssel, Alexander Kanavin írta:
On Wed, 25 Mar 2026 at 12:31, Zoltán Böszörményi <[email protected]> wrote:
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.
This is fine as an RFC, but otherwise, given the large amount of
tweaks required, and having to choose between one or the other (which
complicates testing), I would wait and see how other distros provide a
free-threading python. Ideally it should be co-installable with
regular python.
As I said, this would double the amount of python module
recipe builds.
See the Red Hat bugzilla ticket I created for a different reason
(old bitbake needs old python, still a parallel installation use case):
https://bugzilla.redhat.com/show_bug.cgi?id=2418374
"We don't have the human power to maintain several separate Python stacks packaged as RPM
packages in Fedora."
Python 3.14.x is present in Fedora 43, only without freethreading.
I expect they won't do a parallel installation with freethreading, either, due to the same
reason.
When they switch, it will be all or nothing.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#233908):
https://lists.openembedded.org/g/openembedded-core/message/233908
Mute This Topic: https://lists.openembedded.org/mt/118499141/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-