CI failure running mypy on fedora-x86_64-meson: Positional-only parameters are only supported in Python 3.8 and greater
Job #3684368 failed for 9ab5bb27:
/home/user/.local/lib/python3.11/site-packages/markdown-stubs/core.pyi:13: error: Positional-only parameters are only supported in Python 3.8 and greater
It looks as though https://gitlab.gnome.org/GNOME/gobject-introspection/-/blob/main/mypy.ini?ref_type=heads configures mypy to require compatibility with Python 3.6, but the typing stubs for one of gobject-introspection's dependencies is no longer compatible with that version.
Would it be OK to raise the mypy minimum to 3.8, and declare 3.6/3.7 to be "at risk"? 3.8 is the oldest version that is actively tested by CI (in fedora-x86_64-python3.8
), and 3.6, 3.7 officially reached EOL on 2021-12-23 and 2023-06-27 respectively.