Skip to content

Commit 1877181

Browse files
Infra: Pin Pygments to a development version (#5024)
This allows the PEP 810 examples to be highlighted correctly. See also python/cpython#153227. Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
1 parent 4813899 commit 1877181

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

requirements.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Requirements for building PEPs with Sphinx
2+
23
# Sphinx requires >= 2.17. JSON5 support added in 2.19
3-
Pygments >= 2.19
4+
# Temporary archive install, pending release of Pygments > 2.20.0
5+
# https://github.com/pygments/pygments/discussions/3145
6+
pygments @ git+https://github.com/pygments/pygments@2cad2642058441b59782a6a18f03c98c42d081f1
7+
48
# Sphinx 6.1.0 broke copying images in parallel builds; fixed in 6.1.2
59
# See https://github.com/sphinx-doc/sphinx/pull/11100
610
Sphinx >= 5.1.1, != 6.1.0, != 6.1.1, < 8.1.0

0 commit comments

Comments
 (0)