File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -83,12 +83,12 @@ jobs:
8383 # TODO: (2025-05-10) This is a bad hack to work around mypy crashing
8484 # when running on Python 3.14. See https://github.com/python/mypy/pull/19020.
8585 if [[ "${{ matrix.python-version }}" == "3.13.2" ]]; then
86- MYPY_PY_VERSION="3.14-dev"
86+ MYPY_PY_VERSION="3.14"
87+ else
88+ # python-version can sometimes be pinned to a specific version or to "-dev", but
89+ # mypy understands only X.Y version numbers.
90+ MYPY_PY_VERSION=$(echo ${{ matrix.python-version }} | cut -d - -f 1 | cut -d . -f 1-2)
8791 fi
88-
89- # python-version can sometimes be pinned to a specific version or to "-dev", but
90- # mypy understands only X.Y version numbers.
91- MYPY_PY_VERSION=$(echo ${{ matrix.python-version }} | cut -d - -f 1 | cut -d . -f 1-2)
9292 python ./tests/mypy_test.py --platform=${{ matrix.platform }} --python-version=${MYPY_PY_VERSION}
9393
9494 regression-tests :
You can’t perform that action at this time.
0 commit comments