Skip to content

Commit

Permalink
Limits Pygments to exclude 2.19.0 (#45412)
Browse files Browse the repository at this point in the history
Pygments 2.19.0 fails to properly render .ini examples with
dictionaries.

This is tracked in pygments/pygments#2834
  • Loading branch information
potiuk authored Jan 5, 2025
1 parent 03659e4 commit 64c72db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hatch_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,9 @@
"pluggy>=1.5.0",
"psutil>=5.8.0",
"pydantic>=2.10.2",
"pygments>=2.0.1",
# Pygments 2.19.0 improperly renders .ini files with dictionaries as values
# See https://github.com/pygments/pygments/issues/2834
"pygments>=2.0.1,!=2.19.0",
"pyjwt>=2.0.0",
"python-daemon>=3.0.0",
"python-dateutil>=2.7.0",
Expand Down

0 comments on commit 64c72db

Please sign in to comment.