Skip to content

CI: use a newer mypy in CI to fix the msys2 job

MSYS2 recently updated Python to 3.9.10 which triggered a build issued present in typed_ast, which was fixed in typed_ast 1.5.0: https://github.com/python/typed_ast/issues/169

The currently used mypy version has an upper limit on typed_ast, so this fixed version wasn't pulled in.

To fix this, update mypy, fix one new warning it complains about (namedtuple not being named after the variable), and install the markdown stubs explicitely, since mypy no longer bundles them.

Merge request reports