@@ -26,11 +26,11 @@ jobs:
2626 name : Check typeshed structure
2727 runs-on : ubuntu-latest
2828 steps :
29- - uses : actions/checkout@v4
30- - uses : actions/setup-python@v5
29+ - uses : actions/checkout@v6
30+ - uses : actions/setup-python@v6
3131 with :
3232 python-version : " 3.13"
33- - uses : astral-sh/setup-uv@v6
33+ - uses : astral-sh/setup-uv@v7
3434 with :
3535 version-file : " requirements-tests.txt"
3636 - run : uv pip install -r requirements-tests.txt --system
@@ -42,15 +42,15 @@ jobs:
4242 strategy :
4343 matrix :
4444 platform : ["linux", "win32", "darwin"]
45- python-version : ["3.9", "3. 10", "3.11", "3.12", "3.13", "3.14"]
45+ python-version : ["3.10", "3.11", "3.12", "3.13", "3.14"]
4646 fail-fast : false
4747 steps :
48- - uses : actions/checkout@v4
49- - uses : actions/setup-python@v5
48+ - uses : actions/checkout@v6
49+ - uses : actions/setup-python@v6
5050 with :
5151 python-version : ${{ matrix.python-version }}
5252 allow-prereleases : true
53- - uses : astral-sh/setup-uv@v6
53+ - uses : astral-sh/setup-uv@v7
5454 with :
5555 version-file : " requirements-tests.txt"
5656 - run : uv pip install -r requirements-tests.txt --system
@@ -62,23 +62,17 @@ jobs:
6262 sudo apt-get update -q && sudo apt-get install -qy $PACKAGES
6363 fi
6464 - name : Run mypy_test.py
65- run : |
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)
69- python ./tests/mypy_test.py --platform=${{ matrix.platform }} --python-version=${MYPY_PY_VERSION}
65+ run : python ./tests/mypy_test.py --platform=${{ matrix.platform }} --python-version=${{ matrix.python-version }}
7066
7167 regression-tests :
7268 name : " mypy: Run test cases"
7369 runs-on : ubuntu-latest
7470 steps :
75- - uses : actions/checkout@v4
76- - uses : actions/setup-python@v5
71+ - uses : actions/checkout@v6
72+ - uses : actions/setup-python@v6
7773 with :
78- # Use py311 for now, as py312 seems to be around 30s slower in CI
79- # TODO: figure out why that is (#11590)
80- python-version : " 3.11"
81- - uses : astral-sh/setup-uv@v6
74+ python-version : " 3.14"
75+ - uses : astral-sh/setup-uv@v7
8276 with :
8377 version-file : " requirements-tests.txt"
8478 - run : uv pip install -r requirements-tests.txt --system
@@ -90,14 +84,14 @@ jobs:
9084 strategy :
9185 matrix :
9286 python-platform : ["Linux", "Windows", "Darwin"]
93- python-version : ["3.9", "3.10", "3. 11", "3.12", "3.13", "3.14"]
87+ python-version : ["3.11", "3.12", "3.13", "3.14"]
9488 fail-fast : false
9589 steps :
96- - uses : actions/checkout@v4
97- - uses : actions/setup-python@v5
90+ - uses : actions/checkout@v6
91+ - uses : actions/setup-python@v6
9892 with :
9993 python-version : " 3.13"
100- - uses : astral-sh/setup-uv@v6
94+ - uses : astral-sh/setup-uv@v7
10195 with :
10296 version-file : " requirements-tests.txt"
10397 - name : Install typeshed test-suite requirements
@@ -152,19 +146,19 @@ jobs:
152146 runs-on : ubuntu-latest
153147 steps :
154148 - name : Checkout typeshed
155- uses : actions/checkout@v4
149+ uses : actions/checkout@v6
156150 with :
157151 path : typeshed
158152 - name : Checkout stub_uploader
159- uses : actions/checkout@v4
153+ uses : actions/checkout@v6
160154 with :
161155 repository : typeshed-internal/stub_uploader
162156 path : stub_uploader
163- - uses : actions/setup-python@v5
157+ - uses : actions/setup-python@v6
164158 with :
165159 # Keep in sync with stub_uploader's check_scripts.yml workflow.
166160 python-version : " 3.13"
167- - uses : astral-sh/setup-uv@v6
161+ - uses : astral-sh/setup-uv@v7
168162 with :
169163 version-file : " typeshed/requirements-tests.txt"
170164 - name : Run tests
0 commit comments