@@ -42,14 +42,14 @@ jobs:
4242 strategy :
4343 matrix :
4444 platform : ["linux", "win32", "darwin"]
45- # TODO (2025-05-10) "3.13.2" should be "3.14-dev", see below.
46- python-version : ["3.9", "3.10", "3.11", "3.12", "3.13", "3.13.2"]
45+ python-version : ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
4746 fail-fast : false
4847 steps :
4948 - uses : actions/checkout@v4
5049 - uses : actions/setup-python@v5
5150 with :
5251 python-version : ${{ matrix.python-version }}
52+ allow-prereleases : true
5353 - uses : astral-sh/setup-uv@v6
5454 with :
5555 version-file : " requirements-tests.txt"
6363 fi
6464 - name : Run mypy_test.py
6565 run : |
66- # TODO: (2025-05-10) This is a bad hack to work around mypy crashing
67- # when running on Python 3.14. See https://github.com/python/mypy/pull/19020.
68- if [[ "${{ matrix.python-version }}" == "3.13.2" ]]; then
69- MYPY_PY_VERSION="3.14"
70- else
71- # python-version can sometimes be pinned to a specific version or to "-dev", but
72- # mypy understands only X.Y version numbers.
73- MYPY_PY_VERSION=$(echo ${{ matrix.python-version }} | cut -d - -f 1 | cut -d . -f 1-2)
74- fi
66+ # python-version can sometimes be pinned to a specific version or to "-dev", but
67+ # mypy understands only X.Y version numbers.
68+ MYPY_PY_VERSION=$(echo ${{ matrix.python-version }} | cut -d - -f 1 | cut -d . -f 1-2)
7569 python ./tests/mypy_test.py --platform=${{ matrix.platform }} --python-version=${MYPY_PY_VERSION}
7670
7771 regression-tests :
0 commit comments