From: Colin Watson Date: Sun, 27 Sep 2026 13:39:33 +0100 Subject: Revert pygments 2.21 update That version isn't in Debian unstable yet. We can drop this patch once it is. Last-Update: 2026-09-27 --- pyproject.toml | 2 +- tests/test_description.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index f83e49e..e8de1e2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -65,7 +65,7 @@ optional = [ "legacy-cgi; python_version>='3.13'", "markdown>=3.3.7", "psycopg[binary]>=3.1.8", - "pygments==2.21.*", + "pygments>=2.17,<2.21", "pyyaml>=5.3.1,<6.1", "requests", "uritemplate", diff --git a/tests/test_description.py b/tests/test_description.py index 71a3a86..7fb93ed 100644 --- a/tests/test_description.py +++ b/tests/test_description.py @@ -41,7 +41,7 @@ MARKDOWN_DOCSTRING = """

an example docstring

indented

hash style header

-
[{
"alpha": 1,
"beta": "this is a string"
}]
+
[{
"alpha": 1,
"beta": "this is a string"
}]


"""