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 1/2] python3: remove obsolete reformatting of _sysconfigdata*.py
Date: Tue, 10 Nov 2026 08:18:47 +0100	[thread overview]
Message-ID: <DMRCJE7GVD4S.27N9L2M4QLIIY@bootlin.com> (raw)
In-Reply-To: <20261109143827.3411115-1-ross.burton@arm.com>

On Mon Nov 9, 2026 at 3:38 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,

Thanks for your patch.

I have a lot of python related things in my branch, but I suspect this
series is responsible of the following failure. I will drop it to
confirm.

ERROR: python3-3.14.10-r0 do_package_write_rpm: Execution of '/srv/pokybuild/yocto-worker/genericx86-64/build/build/tmp/work/core2-64-poky-linux/python3/3.14.10/temp/run.BUILDSPEC.2769789' failed with exit code 1
...
| Processing files: python3-tests-3.14.10-r0.core2_64
| error: Directory not found: /srv/pokybuild/yocto-worker/genericx86-64/build/build/tmp/work/core2-64-poky-linux/python3/3.14.10/package/usr/lib/python3.14/test/__pycache__
| error: Directory not found: /srv/pokybuild/yocto-worker/genericx86-64/build/build/tmp/work/core2-64-poky-linux/python3/3.14.10/package/usr/lib/python3.14/test/test_tools/__pycache__
| error: File not found: /srv/pokybuild/yocto-worker/genericx86-64/build/build/tmp/work/core2-64-poky-linux/python3/3.14.10/package/usr/lib/python3.14/test/test_tools/__pycache__/test_compute_changes.cpython-314.pyc
| error: File not found: /srv/pokybuild/yocto-worker/genericx86-64/build/build/tmp/work/core2-64-poky-linux/python3/3.14.10/package/usr/lib/python3.14/test/test_tools/__pycache__/__init__.cpython-314.pyc
| error: File not found: /srv/pokybuild/yocto-worker/genericx86-64/build/build/tmp/work/core2-64-poky-linux/python3/3.14.10/package/usr/lib/python3.14/test/test_tools/__pycache__/test_makeunicodedata.cpython-314.pyc
| error: File not found: /srv/pokybuild/yocto-worker/genericx86-64/build/build/tmp/work/core2-64-poky-linux/python3/3.14.10/package/usr/lib/python3.14/test/test_tools/__pycache__/__main__.cpython-314.pyc
| error: File not found: /srv/pokybuild/yocto-worker/genericx86-64/build/build/tmp/work/core2-64-poky-linux/python3/3.14.10/package/usr/lib/python3.14/test/test_tools/__pycache__/test_msgfmt.cpython-314.pyc
...

https://autobuilder.yoctoproject.org/valkyrie/#/builders/4/builds/5006
(You can ignore groff issues in the log).

Can you have a look at this?

Thanks,
Mathieu

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


      parent reply	other threads:[~2026-11-10  7:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-09 14:38 [PATCH 1/2] python3: remove obsolete reformatting of _sysconfigdata*.py Ross Burton
2026-11-09 14:38 ` [PATCH 2/2] python3: compile .pyc at packaging time, remove from manifest Ross Burton
2026-11-10  7:18 ` 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=DMRCJE7GVD4S.27N9L2M4QLIIY@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.