annotate requirements.txt @ 73:a2a56d08b860

FIX: Python 2 needs a "staticmethod" on "op_fixed()" when called via the LexBase. Python 3 does not allow this. Implement proper decoration depending on the Python version.
author Franz Glasner <fzglas.hg@dom66.de>
date Tue, 28 Apr 2026 19:29:28 +0200
parents 3ccfa7f45044
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
67
3ccfa7f45044 Minimum Pygments version is 2.2
Franz Glasner <fzglas.hg@dom66.de>
parents: 6
diff changeset
1 #
3ccfa7f45044 Minimum Pygments version is 2.2
Franz Glasner <fzglas.hg@dom66.de>
parents: 6
diff changeset
2 # - Tests need this version for "load_XXX_from_file()"
3ccfa7f45044 Minimum Pygments version is 2.2
Franz Glasner <fzglas.hg@dom66.de>
parents: 6
diff changeset
3 # - But Sphinx yields errors on Python 2.7 (also with Pygments 2.0.1)
3ccfa7f45044 Minimum Pygments version is 2.2
Franz Glasner <fzglas.hg@dom66.de>
parents: 6
diff changeset
4 #
3ccfa7f45044 Minimum Pygments version is 2.2
Franz Glasner <fzglas.hg@dom66.de>
parents: 6
diff changeset
5 Pygments>=2.2