summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2022-02-02 18:01:34 +0100
committerChristoph Reiter <reiter.christoph@gmail.com>2022-02-02 18:24:08 +0100
commit3b2d2e67461d16c48a4066b2c8a9f6b7b3c869bd (patch)
tree78c4e1a2850980aecf03d729456d481c5546bb02 /.gitlab-ci.yml
parent978c562383c057d324ffed9926bfcd9cd86172db (diff)
downloadgobject-introspection-3b2d2e67461d16c48a4066b2c8a9f6b7b3c869bd.tar.gz
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.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 55d05682..7aa002ad 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -58,7 +58,7 @@ fedora-x86_64-meson:
- ninja -C _build gi-doc
- mkdir -p public
- mv _build/docs/reference/html/ public/girepository/
- - python3 -m pip install --user flake8 mypy==0.790
+ - python3 -m pip install --user flake8 mypy==0.931 types-Markdown
- python3 -m flake8 --count
- python3 -m mypy _build
except: