From: "Böszörményi Zoltán" <zboszor@gmail.com>
To: Bartosz Golaszewski <brgl@kernel.org>
Cc: Trevor Gamblin <tgamblin@baylibre.com>,
Alexander Kanavin <alex.kanavin@gmail.com>,
"Zoltan Boszormenyi via lists.openembedded.org"
<zboszor=gmail.com@lists.openembedded.org>,
openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH v2] python3: Add a new PACKAGECONFIG knob for free threading
Date: Wed, 25 Mar 2026 13:26:40 +0100 [thread overview]
Message-ID: <8ce1d1f5-64f8-4996-9379-06275fb382e8@gmail.com> (raw)
In-Reply-To: <CAMRc=Mffe963zy4vEH+TGvXS_iMUNPoan25_szUFfxvGcemEcg@mail.gmail.com>
2026. 03. 24. 9:46 keltezéssel, Bartosz Golaszewski írta:
> On Mon, Mar 23, 2026 at 6:23 PM Böszörményi Zoltán <zboszor@gmail.com> wrote:
>> 2026. 03. 23. 16:03 keltezéssel, Trevor Gamblin írta:
>>> On 2026-03-23 10:52, Zoltan Boszormenyi via lists.openembedded.org wrote:
>>>> 2026. 03. 23. 15:47 keltezéssel, Alexander Kanavin írta:
>>>>> On Mon, 23 Mar 2026 at 15:40, Böszörményi Zoltán <zboszor@gmail.com> wrote:
>>>>>> I also see other issues popping up, first in python3-installer-native.
>>>>>>
>>>>>> Probably this setting ("python-freethreading") should be a
>>>>>> DISTRO_FEATURE and then the python3 recipe would use that
>>>>>> to enable its PACKAGECONFIG.
>>>>>>
>>>>>> PYTHON_DIR in python-dir.bbclass should also be set accordingly.
>>>>> In patch review it was suggested that we should actually have two
>>>>> co-installable recipes, rather than an exclusive choice between.
>>>> Which implies doubling every python3-* recipes, too.
>>> I think that should only be for python3 packages which actually have binary builds.
>> Not just those. Script-only modules won't be found either
>> by one build in the the other build's site-packages.
>>
> Am I getting this right: This is experimental, never worked and
> actually shouldn't even be in openembedded-core master at all? I'm
> trying to figure out if I'm wasting my time trying to make this work.
I have figured out what was needed, it wasn't that bad.
I just sent two series for that, one for openembedded-core and
one for meta-openembedded.
Some projects do not actually expect freethreading to be enabled,
see the ones with moving the installed site-packages directory into
the correct location:
+do_install:append () {
+ if [ ! -d ${D}${libdir}/${PYTHON_DIR} ]; then
+ mv ${D}${libdir}/python${PYTHON_BASEVERSION} ${D}${libdir}/${PYTHON_DIR}
+ fi
+}
I expect a lot of fallouts in CI.
next prev parent reply other threads:[~2026-03-25 12:26 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-12 12:00 [PATCH v2] python3: Add a new PACKAGECONFIG knob for free threading Zoltán Böszörményi
2026-03-23 13:28 ` [OE-core] " Bartosz Golaszewski
2026-03-23 13:35 ` Alexander Kanavin
2026-03-23 13:48 ` Bartosz Golaszewski
2026-03-23 14:04 ` Alexander Kanavin
2026-03-23 14:05 ` Bartosz Golaszewski
2026-03-23 14:23 ` Böszörményi Zoltán
2026-03-23 14:34 ` Bartosz Golaszewski
2026-03-23 14:40 ` Böszörményi Zoltán
2026-03-23 14:45 ` Bartosz Golaszewski
2026-03-23 14:54 ` Böszörményi Zoltán
2026-03-23 14:47 ` Alexander Kanavin
2026-03-23 14:52 ` Böszörményi Zoltán
2026-03-23 15:03 ` Trevor Gamblin
2026-03-23 17:23 ` Böszörményi Zoltán
2026-03-24 8:46 ` Bartosz Golaszewski
2026-03-25 12:26 ` Böszörményi Zoltán [this message]
[not found] ` <189F7F6305FFFD56.3195838@lists.openembedded.org>
2026-03-23 14:49 ` 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=8ce1d1f5-64f8-4996-9379-06275fb382e8@gmail.com \
--to=zboszor@gmail.com \
--cc=alex.kanavin@gmail.com \
--cc=brgl@kernel.org \
--cc=openembedded-core@lists.openembedded.org \
--cc=tgamblin@baylibre.com \
--cc=zboszor=gmail.com@lists.openembedded.org \
/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