Skip to content

Commit 06ca51e

Browse files
rustyconoverclaude
andcommitted
Pin pygments<2.20 to fix docs build (pymdownx filename=None crash)
Pygments 2.20.0 added html.escape() in HtmlFormatter.__init__ that crashes when pymdown-extensions passes filename=None. Pin to 2.19.x until pymdown-extensions releases a compatible fix. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 9e9de1b commit 06ca51e

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ docs = [
173173
"mkdocstrings[python]>=0.27",
174174
"mkdocs-section-index>=0.3",
175175
"mkdocs-d2-plugin>=1.4",
176+
"pygments>=2.19,<2.20",
176177
]
177178
dev = [
178179
"aioresponses>=0.7",

uv.lock

Lines changed: 5 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)