All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] python3-pygments: update 2.20.0 -> 2.21.0
@ 2026-08-17 10:13 Antonin Godard
  2026-08-18  5:37 ` [OE-core] " Mathieu Dubois-Briand
  0 siblings, 1 reply; 5+ messages in thread
From: Antonin Godard @ 2026-08-17 10:13 UTC (permalink / raw)
  To: openembedded-core; +Cc: Thomas Petazzoni, Antonin Godard

One notable change from this update is the addition of a Bitbake lexer,
which will allow us to do proper Bitbake syntax coloring in our
documentation.

Full list of changes:
https://github.com/pygments/pygments/releases/tag/2.21.0

Tested using this version for the documentation with our
buildtools-docs-tarball recipe.

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
---
 .../python/{python3-pygments_2.20.0.bb => python3-pygments_2.21.0.bb}   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/python/python3-pygments_2.20.0.bb b/meta/recipes-devtools/python/python3-pygments_2.21.0.bb
similarity index 80%
rename from meta/recipes-devtools/python/python3-pygments_2.20.0.bb
rename to meta/recipes-devtools/python/python3-pygments_2.21.0.bb
index abe6205292..044014b134 100644
--- a/meta/recipes-devtools/python/python3-pygments_2.20.0.bb
+++ b/meta/recipes-devtools/python/python3-pygments_2.21.0.bb
@@ -5,7 +5,7 @@ LICENSE = "BSD-2-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=36a13c90514e2899f1eba7f41c3ee592"
 
 inherit python_hatchling
-SRC_URI[sha256sum] = "6757cd03768053ff99f3039c1a36d6c0aa0b263438fcab17520b30a303a82b5f"
+SRC_URI[sha256sum] = "610ca751c9bc2492b38eb9a38a7fbc93edbbb2d7182edaf34e66ae493dee5c8c"
 
 inherit pypi
 

---
base-commit: 07a342aa80c7349dd014f743a695a5e006add8df
change-id: 20260817-update-pygments-1b579985f5c1



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [OE-core] [PATCH] python3-pygments: update 2.20.0 -> 2.21.0
  2026-08-17 10:13 [PATCH] python3-pygments: update 2.20.0 -> 2.21.0 Antonin Godard
@ 2026-08-18  5:37 ` Mathieu Dubois-Briand
  2026-08-18  8:04   ` Antonin Godard
  0 siblings, 1 reply; 5+ messages in thread
From: Mathieu Dubois-Briand @ 2026-08-18  5:37 UTC (permalink / raw)
  To: antonin.godard, openembedded-core; +Cc: Thomas Petazzoni

On Mon Aug 17, 2026 at 12:13 PM CEST, Antonin Godard via lists.openembedded.org wrote:
> One notable change from this update is the addition of a Bitbake lexer,
> which will allow us to do proper Bitbake syntax coloring in our
> documentation.
>
> Full list of changes:
> https://github.com/pygments/pygments/releases/tag/2.21.0
>
> Tested using this version for the documentation with our
> buildtools-docs-tarball recipe.
>
> Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
> ---

Hi Antonin,

Thanks for your patch.

It looks like this upgrade might be breaking some ptests, for a lot of
python recipes:

Failed ptests:
{'python3-click': 'START: ptest-runner\n'
...
Failed ptests:
{'python3-xmltodict': 'START: ptest-runner\n'
...
Failed ptests:
{'python3-webcolors': 'START: ptest-runner\n'
...
Failed ptests:
{'python3-wcwidth': 'START: ptest-runner\n'
...
Failed ptests:
{'python3-uritools': 'START: ptest-runner\n'
...

https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/2181
https://autobuilder.yoctoproject.org/valkyrie/#/builders/61/builds/4294
https://autobuilder.yoctoproject.org/valkyrie/#/builders/73/builds/4311
https://autobuilder.yoctoproject.org/valkyrie/#/builders/109/builds/986
https://autobuilder.yoctoproject.org/valkyrie/#/builders/110/builds/967

Can you have a look at the issues?

Thanks,
Mathieu

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [OE-core] [PATCH] python3-pygments: update 2.20.0 -> 2.21.0
  2026-08-18  5:37 ` [OE-core] " Mathieu Dubois-Briand
@ 2026-08-18  8:04   ` Antonin Godard
  2026-08-18 12:18     ` Richard Purdie
  0 siblings, 1 reply; 5+ messages in thread
From: Antonin Godard @ 2026-08-18  8:04 UTC (permalink / raw)
  To: Mathieu Dubois-Briand, openembedded-core; +Cc: Thomas Petazzoni

Hi,

On Tue Aug 18, 2026 at 7:37 AM CEST, Mathieu Dubois-Briand wrote:
> On Mon Aug 17, 2026 at 12:13 PM CEST, Antonin Godard via lists.openembedded.org wrote:
>> One notable change from this update is the addition of a Bitbake lexer,
>> which will allow us to do proper Bitbake syntax coloring in our
>> documentation.
>>
>> Full list of changes:
>> https://github.com/pygments/pygments/releases/tag/2.21.0
>>
>> Tested using this version for the documentation with our
>> buildtools-docs-tarball recipe.
>>
>> Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
>> ---
>
> Hi Antonin,
>
> Thanks for your patch.
>
> It looks like this upgrade might be breaking some ptests, for a lot of
> python recipes:
>
> Failed ptests:
> {'python3-click': 'START: ptest-runner\n'
> ...
> Failed ptests:
> {'python3-xmltodict': 'START: ptest-runner\n'
> ...
> Failed ptests:
> {'python3-webcolors': 'START: ptest-runner\n'
> ...
> Failed ptests:
> {'python3-wcwidth': 'START: ptest-runner\n'
> ...
> Failed ptests:
> {'python3-uritools': 'START: ptest-runner\n'
> ...
>
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/2181
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/61/builds/4294
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/73/builds/4311
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/109/builds/986
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/110/builds/967
>
> Can you have a look at the issues?

I don't really understand it yet, the issue is always the same it seems:

  '"/usr/lib/python3.14/site-packages/pygments/util.py", '
  'line 13, in <module>\n'
  '    import html\n'
  "ModuleNotFoundError: No module named 'html'\n"

Yet the html module is provided by python3, and does show up in
python3-pygments' sysroot when I build it:

tmp/work/cortexa57-oe-linux/python3-pygments/2.21.0/recipe-sysroot/usr/lib/python3.14/html/

Antonin


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [OE-core] [PATCH] python3-pygments: update 2.20.0 -> 2.21.0
  2026-08-18  8:04   ` Antonin Godard
@ 2026-08-18 12:18     ` Richard Purdie
  2026-08-18 13:13       ` Antonin Godard
  0 siblings, 1 reply; 5+ messages in thread
From: Richard Purdie @ 2026-08-18 12:18 UTC (permalink / raw)
  To: antonin.godard, Mathieu Dubois-Briand, openembedded-core; +Cc: Thomas Petazzoni

On Tue, 2026-08-18 at 10:04 +0200, Antonin Godard via lists.openembedded.org wrote:
> Hi,
> 
> On Tue Aug 18, 2026 at 7:37 AM CEST, Mathieu Dubois-Briand wrote:
> > On Mon Aug 17, 2026 at 12:13 PM CEST, Antonin Godard via lists.openembedded.org wrote:
> > > One notable change from this update is the addition of a Bitbake lexer,
> > > which will allow us to do proper Bitbake syntax coloring in our
> > > documentation.
> > > 
> > > Full list of changes:
> > > https://github.com/pygments/pygments/releases/tag/2.21.0
> > > 
> > > Tested using this version for the documentation with our
> > > buildtools-docs-tarball recipe.
> > > 
> > > Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
> > > ---
> > 
> > Hi Antonin,
> > 
> > Thanks for your patch.
> > 
> > It looks like this upgrade might be breaking some ptests, for a lot of
> > python recipes:
> > 
> > Failed ptests:
> > {'python3-click': 'START: ptest-runner\n'
> > ...
> > Failed ptests:
> > {'python3-xmltodict': 'START: ptest-runner\n'
> > ...
> > Failed ptests:
> > {'python3-webcolors': 'START: ptest-runner\n'
> > ...
> > Failed ptests:
> > {'python3-wcwidth': 'START: ptest-runner\n'
> > ...
> > Failed ptests:
> > {'python3-uritools': 'START: ptest-runner\n'
> > ...
> > 
> > https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/2181
> > https://autobuilder.yoctoproject.org/valkyrie/#/builders/61/builds/4294
> > https://autobuilder.yoctoproject.org/valkyrie/#/builders/73/builds/4311
> > https://autobuilder.yoctoproject.org/valkyrie/#/builders/109/builds/986
> > https://autobuilder.yoctoproject.org/valkyrie/#/builders/110/builds/967
> > 
> > Can you have a look at the issues?
> 
> I don't really understand it yet, the issue is always the same it seems:
> 
>   '"/usr/lib/python3.14/site-packages/pygments/util.py", '
>   'line 13, in <module>\n'
>   '    import html\n'
>   "ModuleNotFoundError: No module named 'html'\n"
> 
> Yet the html module is provided by python3, and does show up in
> python3-pygments' sysroot when I build it:
> 
> tmp/work/cortexa57-oe-linux/python3-pygments/2.21.0/recipe-sysroot/usr/lib/python3.14/html/

Those are ptest runtime errors (i.e. an image booted under qemu) so
probably a missing RDEPENDS on a python module somewhere...

Cheers,

Richard


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [OE-core] [PATCH] python3-pygments: update 2.20.0 -> 2.21.0
  2026-08-18 12:18     ` Richard Purdie
@ 2026-08-18 13:13       ` Antonin Godard
  0 siblings, 0 replies; 5+ messages in thread
From: Antonin Godard @ 2026-08-18 13:13 UTC (permalink / raw)
  To: richard.purdie, Mathieu Dubois-Briand, openembedded-core; +Cc: Thomas Petazzoni

Hi,

On Tue Aug 18, 2026 at 2:18 PM CEST, Richard Purdie via lists.openembedded.org wrote:
[...]
>> I don't really understand it yet, the issue is always the same it seems:
>> 
>>   '"/usr/lib/python3.14/site-packages/pygments/util.py", '
>>   'line 13, in <module>\n'
>>   '    import html\n'
>>   "ModuleNotFoundError: No module named 'html'\n"
>> 
>> Yet the html module is provided by python3, and does show up in
>> python3-pygments' sysroot when I build it:
>> 
>> tmp/work/cortexa57-oe-linux/python3-pygments/2.21.0/recipe-sysroot/usr/lib/python3.14/html/
>
> Those are ptest runtime errors (i.e. an image booted under qemu) so
> probably a missing RDEPENDS on a python module somewhere...

You're right. I didn't realise the html module was packaged separately
(python3-html). Adding the runtime dependency fixes the issue for me. Thanks! v2
incoming.

Antonin


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-08-18 13:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-17 10:13 [PATCH] python3-pygments: update 2.20.0 -> 2.21.0 Antonin Godard
2026-08-18  5:37 ` [OE-core] " Mathieu Dubois-Briand
2026-08-18  8:04   ` Antonin Godard
2026-08-18 12:18     ` Richard Purdie
2026-08-18 13:13       ` Antonin Godard

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.