On 9 Sep 2026, at 18:37, Mathieu Dubois-Briand 
<[email protected]> wrote:
> 
> On Wed Sep 9, 2026 at 5:19 PM CEST, Ross Burton via lists.openembedded.org 
> wrote:
>> BitBake now vendors in tomli[1] for when the host Python is older than
>> 3.11 so doesn't have tomllib. Rewrite the pyproject.toml parsing from
>> regexs to tomllib.
>> 
>> Also ensure that the functions in setuptools3 and setuptools_legacy are
>> identical, as they had diverged.
>> 
>> [1] bitbake 69810e0c0a ("lib/bb/_vendor: resync to add tomli")
>> 
>> Signed-off-by: Ross Burton <[email protected]>
>> ---
> 
> Hi Ross,
> 
> I've been getting some error on the autobuilder, event though I'm in
> sync on the bitbake side:
> 
> ERROR: python3-semantic-version-native-2.10.0-r0 do_check_backend: Error 
> executing a python function in exec_func_python() autogenerated:
> 
> The stack trace of python calls that resulted in this exception/failure was:
> File: 'exec_func_python() autogenerated', lineno: 2, function: <module>
>     0001:
> *** 0002:do_check_backend(d)
>     0003:
> File: 
> '/srv/pokybuild/yocto-worker/qemux86-64-ptest/build/layers/openembedded-core/meta/classes-recipe/setuptools3.bbclass',
>  lineno: 27, function: do_check_backend
>     0023:
>     0024:    try:
>     0025:        import tomllib
>     0026:    except ImportError:
> *** 0027:        import bb._vendor_tomli as tomllib
>     0028:
>     0029:    filename = d.expand("${SETUPTOOLS_SETUP_PATH}/pyproject.toml")
>     0030:    if os.path.exists(filename):
>     0031:        with open(filename, "rb") as f:
> Exception: ModuleNotFoundError: No module named 'bb._vendor_tomli'
> 
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/73/builds/4525
> 
> Any clue about what might be wrong here?

Sigh, typo. v2 incoming.

Ross
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#245501): 
https://lists.openembedded.org/g/openembedded-core/message/245501
Mute This Topic: https://lists.openembedded.org/mt/121164455/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to