| Message ID | 20260326141213.2081121-2-zboszor@gmail.com |
|---|---|
| State | New |
| Headers | show |
| Series | [v2,01/12] python3: Add warning comment before PACKAGECONFIG[freethreading] | expand |
Wrong ML? On 3/26/26 15:12, Zoltan Boszormenyi via lists.openembedded.org wrote: > 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 > > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#125723): https://lists.openembedded.org/g/openembedded-devel/message/125723 > Mute This Topic: https://lists.openembedded.org/mt/118518888/6084445 > Group Owner: openembedded-devel+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [skandigraun@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- >
2026. 03. 26. 15:16 keltezéssel, Gyorgy Sarvari írta: > Wrong ML? Yes. Careless copy&paste from ~/.bash_history. Sorry. > > > On 3/26/26 15:12, Zoltan Boszormenyi via lists.openembedded.org wrote: >> 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 >> >> >> >> -=-=-=-=-=-=-=-=-=-=-=- >> Links: You receive all messages sent to this group. >> View/Reply Online (#125723): https://lists.openembedded.org/g/openembedded-devel/message/125723 >> Mute This Topic: https://lists.openembedded.org/mt/118518888/6084445 >> Group Owner: openembedded-devel+owner@lists.openembedded.org >> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [skandigraun@gmail.com] >> -=-=-=-=-=-=-=-=-=-=-=- >>
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
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(+)