From 60fed329321fff8163e869e23ad78112571d9cf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 5 Dec 2025 18:27:40 +0100 Subject: [PATCH 1/2] Update pygments to 2.19.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For our upcoming PEP, we want to use JSON5 code blocks, which was added to pygments in 2.19. Co-authored-by: Michał Górny --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 945d29d4d46..93bcf788a1d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ # Requirements for building PEPs with Sphinx -Pygments >= 2.9.0 +Pygments >= 2.19.0 # 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 554f66ba1744bc54237ca4675b8654d1770d756f Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Date: Fri, 5 Dec 2025 20:14:10 +0000 Subject: [PATCH 2/2] Update requirements.txt --- requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 93bcf788a1d..2a94f6db6c8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,6 @@ # Requirements for building PEPs with Sphinx -Pygments >= 2.19.0 +# Sphinx requires >= 2.17. JSON5 support added in 2.19 +Pygments >= 2.19 # 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