Skip to content

Commit 8f7fa9d

Browse files
committed
Remove a mypy bug workaround
1 parent fbf46f8 commit 8f7fa9d

3 files changed

Lines changed: 6 additions & 13 deletions

File tree

.github/workflows/daily.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
strategy:
3636
matrix:
3737
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
38-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14-dev"]
38+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
3939
fail-fast: false
4040

4141
steps:

.github/workflows/stubtest_stdlib.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
strategy:
3232
matrix:
3333
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
34-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14-dev"]
34+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
3535
fail-fast: false
3636

3737
steps:

.github/workflows/tests.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ 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
@@ -63,15 +62,9 @@ jobs:
6362
fi
6463
- name: Run mypy_test.py
6564
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
65+
# python-version can sometimes be pinned to a specific version or to "-dev", but
66+
# mypy understands only X.Y version numbers.
67+
MYPY_PY_VERSION=$(echo ${{ matrix.python-version }} | cut -d - -f 1 | cut -d . -f 1-2)
7568
python ./tests/mypy_test.py --platform=${{ matrix.platform }} --python-version=${MYPY_PY_VERSION}
7669
7770
regression-tests:

0 commit comments

Comments
 (0)