Skip to content

Commit 17d3a37

Browse files
third-party test: Update Python versions (#484)
Drop 3.8. One of them (pyanalyze) already dropped support for 3.8, and likely others will follow soon. I'd like to wait a bit to drop support in typing-extensions itself, but I'm no longer interested in how 3.8 works in third-party packages. Also add 3.12 and 3.13 for all of them. If any don't work, I'll drop them again.
1 parent 08d866b commit 17d3a37

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

.github/workflows/third_party.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
# PyPy is deliberately omitted here,
4545
# since pydantic's tests intermittently segfault on PyPy,
4646
# and it's nothing to do with typing_extensions
47-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
47+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
4848
runs-on: ubuntu-latest
4949
timeout-minutes: 60
5050
steps:
@@ -89,7 +89,7 @@ jobs:
8989
strategy:
9090
fail-fast: false
9191
matrix:
92-
python-version: ["3.8", "3.9", "3.10", "3.11"]
92+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
9393
runs-on: ubuntu-latest
9494
timeout-minutes: 60
9595
steps:
@@ -137,7 +137,8 @@ jobs:
137137
strategy:
138138
fail-fast: false
139139
matrix:
140-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
140+
# 3.13 support is pending
141+
python-version: ["3.9", "3.10", "3.11", "3.12"]
141142
runs-on: ubuntu-latest
142143
timeout-minutes: 60
143144
steps:
@@ -186,7 +187,7 @@ jobs:
186187
strategy:
187188
fail-fast: false
188189
matrix:
189-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
190+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
190191
runs-on: ubuntu-latest
191192
timeout-minutes: 60
192193
steps:
@@ -218,6 +219,7 @@ jobs:
218219
- name: Run typeguard tests
219220
run: |
220221
cd typeguard
222+
export PYTHON_COLORS=0 # A test fails if tracebacks are colorized
221223
pytest
222224
223225
typed-argument-parser:
@@ -235,7 +237,8 @@ jobs:
235237
strategy:
236238
fail-fast: false
237239
matrix:
238-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
240+
# 3.13 support: https://github.com/swansonk14/typed-argument-parser/issues/150
241+
python-version: ["3.9", "3.10", "3.11", "3.12"]
239242
runs-on: ubuntu-latest
240243
timeout-minutes: 60
241244
steps:
@@ -290,7 +293,7 @@ jobs:
290293
strategy:
291294
fail-fast: false
292295
matrix:
293-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
296+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
294297
runs-on: ubuntu-latest
295298
timeout-minutes: 60
296299
steps:
@@ -340,7 +343,8 @@ jobs:
340343
strategy:
341344
fail-fast: false
342345
matrix:
343-
python-version: ["3.8", "3.9", "3.10", "3.11"]
346+
# skip 3.13 because msgspec doesn't support 3.13 yet
347+
python-version: ["3.9", "3.10", "3.11", "3.12"]
344348
runs-on: ubuntu-latest
345349
timeout-minutes: 60
346350
steps:

0 commit comments

Comments
 (0)