watermarkhu / textmate-grammar-python

Python lexer and tokenizer based on textmate grammars
https://textmate-grammar-python.readthedocs.io
MIT License
10 stars 2 forks source link

Allow Python 3.9 as minimum and update CI. #41

Closed joeced closed 8 months ago

joeced commented 8 months ago

Run CI scripts on Python versions 3.9 - 3.12 and updated pyproject.toml accordingly.

watermarkhu commented 8 months ago

It seems that it passes on 3.10 but fails on 3.9.

Looking at the test log, it is probably only due to the annotations with the PEP604 style. This should pass also on 3.9 after adding

from __future__ import annotations
watermarkhu commented 8 months ago

Hi @joeced I've added support for Python 3.9 in #44