changeset 67:3ccfa7f45044

Minimum Pygments version is 2.2
author Franz Glasner <fzglas.hg@dom66.de>
date Tue, 28 Apr 2026 15:16:06 +0200
parents 9ba1584d4b4a
children 93ade4c595b7
files pyproject.toml requirements.txt
diffstat 2 files changed, 12 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/pyproject.toml	Tue Apr 28 15:02:15 2026 +0200
+++ b/pyproject.toml	Tue Apr 28 15:16:06 2026 +0200
@@ -26,7 +26,13 @@
     "Topic :: Utilities",
 ]
 dependencies = [
-    "Pygments>=2.15",
+    #
+    # - Tests need this version for "load_XXX_from_file()"
+    # - But Sphinx yields errors on Python 2.7 (also with Pygments 2.0.1)
+    #
+    "Pygments>=2.2",
+    # Python 3.8+ and also works with Sphinx
+    # "Pygments>=2.15",
 ]
 dynamic = [
     "readme",
--- a/requirements.txt	Tue Apr 28 15:02:15 2026 +0200
+++ b/requirements.txt	Tue Apr 28 15:16:06 2026 +0200
@@ -1,1 +1,5 @@
-Pygments>=2.15
+#
+# - Tests need this version for "load_XXX_from_file()"
+# - But Sphinx yields errors on Python 2.7 (also with Pygments 2.0.1)
+#
+Pygments>=2.2