diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2024-03-08 10:09:16 -0800 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2024-03-11 07:40:27 -0700 |
| commit | 675c323b194c098fe95ab0be4635eb1c6a5fa5e3 (patch) | |
| tree | ba95c864ad27f0851ff1e6a4269d3b145a794010 | |
| parent | f9479787a01106235e14d2a08a74352f4b1177ef (diff) | |
| download | meson-675c323b194c098fe95ab0be4635eb1c6a5fa5e3.tar.gz | |
CI: pin mypy to version 1.8
Version 1.9 removes support for python 3.7, so we either need to pin the
version to 1.8 as long as we're support Python 3.7, or we need to drop
linting for 3.7
| -rw-r--r-- | .github/workflows/lint.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 58860bd8c..e8cd37341 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -46,7 +46,8 @@ jobs: - uses: actions/setup-python@v4 with: python-version: '3.x' - - run: python -m pip install mypy coverage strictyaml types-PyYAML types-tqdm types-chevron + # Pin mypy to version 1.8, so we retain the ability to lint for Python 3.7 + - run: python -m pip install "mypy==1.8" coverage strictyaml types-PyYAML types-tqdm types-chevron - run: python run_mypy.py --allver env: PYTHONUNBUFFERED: 1 |
