Skip to contentSkip to conversation

python3-pygments: update 2.20.0 -> 2.21.0

PATCH New Antonin Godard 1 participant 1 message Aug 18

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 python3-pygments: update 2.20.0 -> 2.21.0

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.

---
Changes in v2:
- Add missing python3-html runtime dependency, observed during ptest
package testing
- Link to v1: https://patch.msgid.link/[email protected]

---
 .../python/{python3-pygments_2.20.0.bb => python3-pygments_2.21.0.bb} | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta/recipes-devtools/python/python3-pygments_2.21.0.bb renamed from meta/recipes-devtools/python/python3-pygments_2.20.0.bb +3 -1
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
@@ -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