All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Mathieu Dubois-Briand" <mathieu.dubois-briand@bootlin.com>
To: <ross.burton@arm.com>, <openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core] [PATCH v2 1/6] python3: remove obsolete reformatting of _sysconfigdata*.py
Date: Thu, 12 Nov 2026 12:55:33 +0100	[thread overview]
Message-ID: <DMT7ODZP29TY.2NAZOQK8HG3Z5@bootlin.com> (raw)
In-Reply-To: <20261111141726.1496785-1-ross.burton@arm.com>

On Wed Nov 11, 2026 at 3:17 PM CET, Ross Burton via openembedded-core wrote:
> The python3 recipe currently reformats the _sysconfigdata*.py files after
> they are modified to remove build paths, as the files may be wrapped
> differently based on the length of strings[1].
>
> However, this wrapping was due to the use of pprint.pprint(), which
> since Python 3.13 is no longer used to generate the sysconfigdata[2].
>
> As such, remove the reformatting as it is no longer needed.
>
> [1] oe-core ec8a2b310d5 ("python3: Reformat sysconfig")
> [2] python 5ecedbd2669 ("gh-106789: avoid importing pprint from sysconfig (#106790)")
>
> Signed-off-by: Ross Burton <ross.burton@arm.com>
> ---

Hi Ross,

I'm sorry, but I can see a lot of red:

ERROR: nativesdk-python3-3.14.10-r0 do_package_write_rpm: Execution of '/srv/pokybuild/yocto-worker/genericx86-64/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-python3/3.14.10/temp/run.BUILDSPEC.3120668' failed with exit code 1
...
 Processing files: nativesdk-python3-tests-3.14.10-r0.x86_64_nativesdk
| error: Directory not found: /srv/pokybuild/yocto-worker/genericx86-64/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-python3/3.14.10/package/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/usr/lib/python3.14/test/__pycache__
| error: Directory not found: /srv/pokybuild/yocto-worker/genericx86-64/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-python3/3.14.10/package/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/usr/lib/python3.14/test/test_free_threading/__pycache__
...

https://autobuilder.yoctoproject.org/valkyrie/#/builders/4/builds/5022

I can see this on virtually all builds.

I know we had a lot of changes on python3 in the last days, so maybe
this is just conflicting with other changes.

I also note this was tested on yesterday master branch. I know it
conflicts with your other patches merged this morning, so it won't apply
cleanly on master.

Thanks,
Mathieu

-- 
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


      parent reply	other threads:[~2026-11-12 11:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-11 14:17 [PATCH v2 1/6] python3: remove obsolete reformatting of _sysconfigdata*.py Ross Burton
2026-11-11 14:17 ` [PATCH v2 2/6] python3: compile .pyc at packaging time, remove from manifest Ross Burton
2026-11-11 14:17 ` [PATCH v2 3/6] python3: don't copy from UNPACKDIR to WORKDIR Ross Burton
2026-11-11 14:17 ` [PATCH v2 4/6] python3: no need to use an OrderedDict Ross Burton
2026-11-11 14:17 ` [PATCH v2 5/6] python3: add support for skipping dependencies when building the manifest Ross Burton
2026-11-11 14:17 ` [PATCH v2 6/6] python3: refresh manifest Ross Burton
2026-11-12 11:55 ` Mathieu Dubois-Briand [this message]

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=DMT7ODZP29TY.2NAZOQK8HG3Z5@bootlin.com \
    --to=mathieu.dubois-briand@bootlin.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=ross.burton@arm.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.