diff pyproject.toml @ 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 baf4ed7ac81a
children 6457d04a4e3a
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",