Skip to content

Commit 2d25ba9

Browse files
committed
requirements: Pin pygments at ~=2.15.1 instead of >=2.14.0.
Pygments 2.16.0 introduced a style to support a combination of bold and italic styling in pygments/pygments#2444. Both of our gruvbox themes and the light native theme gain a 'bold strong' style via pygments as a result, which urwid fails to parse and blocks the application from loading. Longer-term we should improve the pygments to urwid translation logic to allow these styles to work and an upgrade to later pygments versions, but for now this allows these themes to continue working as before. Fixes #1431.
1 parent 023e2ea commit 2d25ba9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def long_description():
100100
"urwid_readline>=0.13",
101101
"beautifulsoup4>=4.11.1",
102102
"lxml>=4.9.2",
103-
"pygments>=2.14.0",
103+
"pygments~=2.15.1",
104104
"typing_extensions~=4.5.0",
105105
"python-dateutil>=2.8.2",
106106
"pytz>=2022.7.1",

0 commit comments

Comments
 (0)