Skip to content

Commit b7d59bf

Browse files
committed
fix: allow lower Pygments for pythons 3.7-3.8, pending LTS patches
Modified: • pyproject.toml (+3/-2 lines) [gitship-generated]
1 parent a860dc8 commit b7d59bf

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,9 @@ dependencies = [
4545
"typer>=0.4.0",
4646
"rich>=10.0.0",
4747

48-
# Pygments - ReDoS CVE in AdlLexer, fixed in 2.20.0
49-
"pygments>=2.20.0",
48+
# Pygments - ReDoS CVE in AdlLexer, fixed in 2.20.0 (2.19.x is last for py37/py38)
49+
"pygments>=2.20.0 ; python_version >= '3.9'",
50+
"pygments>=2.19.0,<2.20.0 ; python_version < '3.9'",
5051

5152
# werkzeug - pinned to last available per Python, CVEs unresolved due to Python constraints
5253
# TODO: werkzeug-lts needed for py37/py38 to backport CVE-2026-27199, CVE-2026-21860, CVE-2025-66221

0 commit comments

Comments
 (0)