Skip to content

Commit d069718

Browse files
authored
pin Pygments to v2.19.2 (#111)
since v2.20.0 breaks some tests. The tests are probably fragile, but this is an immediate fix.
1 parent 5c55a1a commit d069718

3 files changed

Lines changed: 12 additions & 5 deletions

File tree

CHANGELOG

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,28 @@
11
# Changelog
22

3+
## Version 2.13.0
4+
5+
(released on 2026-04-13)
6+
7+
- Pin Pygments library to older version v2.19.2 to fix tests.
8+
- Fix dates in changelog.
9+
310
## Version 2.12.0
411

5-
(released on 2025-03-21)
12+
(released on 2026-03-21)
613

714
- Probe tabulate version for `preserve_whitespace` keyword support.
815

916
## Version 2.11.0
1017

11-
(released on 2025-03-05)
18+
(released on 2026-03-05)
1219

1320
- Support and require version 0.10.x of `tabulate`.
1421
- Pin `tabulate` version more tightly.
1522

1623
## Version 2.10.1
1724

18-
(released on 2025-02-18)
25+
(released on 2026-02-18)
1926

2027
- Update license dates.
2128
- Change `master` branch references to `main`.

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ autopep8==1.3.3
22
codecov==2.1.13
33
coverage==4.3.4
44
black>=20.8b1
5-
Pygments>=2.4.0
5+
Pygments~=2.19.2
66
pytest==7.4.3
77
pytest-cov==2.4.0
88
Sphinx==1.5.5

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def open_file(filename):
4040
"tabulate[widechars] ~= 0.10.0",
4141
],
4242
extras_require={
43-
"styles": ["Pygments >= 1.6"],
43+
"styles": ["Pygments ~= 2.19.2"],
4444
},
4545
python_requires=">=3.6",
4646
classifiers=[

0 commit comments

Comments
 (0)