ci: use Python 3.9 for mypy workflow to fix ci (#2625) The mypy check on CI has been failing. The problem was the combination of: * We were using Python 3.8 * jpetrucciani/mypy-check@master updated to use mypy 1.15 * mypy 1.15 dropped support for Python 3.8 To fix, use Python 3.9.
diff --git a/.github/workflows/mypy.yaml b/.github/workflows/mypy.yaml index 4297751..866c43a 100644 --- a/.github/workflows/mypy.yaml +++ b/.github/workflows/mypy.yaml
@@ -22,11 +22,10 @@ - uses: jpetrucciani/mypy-check@master with: requirements: 1.6.0 - python_version: 3.8 + python_version: 3.9 path: 'python/runfiles' - uses: jpetrucciani/mypy-check@master with: requirements: 1.6.0 - python_version: 3.8 + python_version: 3.9 path: 'tests/runfiles' -