From 180ce4d7b1c4013705beff792e3ea9a740e8b749 Mon Sep 17 00:00:00 2001 From: Peter Bierma Date: Mon, 6 Jul 2026 15:16:57 -0400 Subject: [PATCH 1/3] Pin Pygments to a development version. --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index bc064583ca5..fe6182f8681 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ # Requirements for building PEPs with Sphinx # Sphinx requires >= 2.17. JSON5 support added in 2.19 -Pygments >= 2.19 +pygments @ git+https://github.com/pygments/pygments@2cad2642058441b59782a6a18f03c98c42d081f1 # Sphinx 6.1.0 broke copying images in parallel builds; fixed in 6.1.2 # See https://github.com/sphinx-doc/sphinx/pull/11100 Sphinx >= 5.1.1, != 6.1.0, != 6.1.1, < 8.1.0 From 7bb5e1c446189d73429f96d1680814be91c4d9be Mon Sep 17 00:00:00 2001 From: Peter Bierma Date: Mon, 6 Jul 2026 17:24:50 -0400 Subject: [PATCH 2/3] Add a comment. --- requirements.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/requirements.txt b/requirements.txt index fe6182f8681..53f7b35ce8e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,10 @@ # Requirements for building PEPs with Sphinx + # Sphinx requires >= 2.17. JSON5 support added in 2.19 +# Temporary direct requirement, pending release of Pygments > 2.20.0 +# https://github.com/pygments/pygments/discussions/3145 pygments @ git+https://github.com/pygments/pygments@2cad2642058441b59782a6a18f03c98c42d081f1 + # Sphinx 6.1.0 broke copying images in parallel builds; fixed in 6.1.2 # See https://github.com/sphinx-doc/sphinx/pull/11100 Sphinx >= 5.1.1, != 6.1.0, != 6.1.1, < 8.1.0 From ee9253d569cab29b6ed3042fc193932f323f00c1 Mon Sep 17 00:00:00 2001 From: Peter Bierma Date: Mon, 6 Jul 2026 17:54:10 -0400 Subject: [PATCH 3/3] Update requirements.txt Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 53f7b35ce8e..acde62e6e25 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ # Requirements for building PEPs with Sphinx # Sphinx requires >= 2.17. JSON5 support added in 2.19 -# Temporary direct requirement, pending release of Pygments > 2.20.0 +# Temporary archive install, pending release of Pygments > 2.20.0 # https://github.com/pygments/pygments/discussions/3145 pygments @ git+https://github.com/pygments/pygments@2cad2642058441b59782a6a18f03c98c42d081f1