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
@@ -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
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(-) --- base-commit: 07a342aa80c7349dd014f743a695a5e006add8df change-id: 20260817-update-pygments-1b579985f5c1