* [PATCH v2] python3-pygments: update 2.20.0 -> 2.21.0
@ 2026-08-18 13:14 Antonin Godard
0 siblings, 0 replies; only message in thread
From: Antonin Godard @ 2026-08-18 13:14 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
The project also introduced a runtime dependency on python3-html with
0f97e7c37d44 ("Harden the HTML formatter against CSS."), so add it to
RDEPENDS.
Tested using this version for the documentation with our
buildtools-docs-tarball recipe.
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
---
Changes in v2:
- Add missing python3-html runtime dependency, observed during ptest
package testing
- Link to v1: https://patch.msgid.link/20260817-update-pygments-v1-1-da836eab9640@bootlin.com
---
.../python/{python3-pygments_2.20.0.bb => python3-pygments_2.21.0.bb} | 4 +++-
1 file changed, 3 insertions(+), 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 74%
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..b58e58a745 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,9 @@ LICENSE = "BSD-2-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=36a13c90514e2899f1eba7f41c3ee592"
inherit python_hatchling
-SRC_URI[sha256sum] = "6757cd03768053ff99f3039c1a36d6c0aa0b263438fcab17520b30a303a82b5f"
+SRC_URI[sha256sum] = "610ca751c9bc2492b38eb9a38a7fbc93edbbb2d7182edaf34e66ae493dee5c8c"
+
+RDEPENDS:${PN} += "python3-html"
inherit pypi
---
base-commit: 07a342aa80c7349dd014f743a695a5e006add8df
change-id: 20260817-update-pygments-1b579985f5c1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-18 13:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-18 13:14 [PATCH v2] python3-pygments: update 2.20.0 -> 2.21.0 Antonin Godard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox