Skip to content

Commit df9e322

Browse files
authored
Run tests on py312 for more third-party projects (#281)
1 parent 7e29499 commit df9e322

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/third_party.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ jobs:
128128
strategy:
129129
fail-fast: false
130130
matrix:
131-
python-version: ["3.8", "3.9", "3.10", "3.11"]
131+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
132132
runs-on: ubuntu-latest
133133
timeout-minutes: 60
134134
steps:
@@ -145,6 +145,7 @@ jobs:
145145
uses: actions/setup-python@v4
146146
with:
147147
python-version: ${{ matrix.python-version }}
148+
allow-prereleases: true
148149
- name: Install pyanalyze test requirements
149150
run: pip install ./pyanalyze[tests]
150151
- name: Install typing_extensions latest
@@ -266,7 +267,7 @@ jobs:
266267
strategy:
267268
fail-fast: false
268269
matrix:
269-
python-version: ["3.8", "3.9", "3.10", "3.11"]
270+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
270271
runs-on: ubuntu-latest
271272
timeout-minutes: 60
272273
steps:
@@ -283,6 +284,7 @@ jobs:
283284
uses: actions/setup-python@v4
284285
with:
285286
python-version: ${{ matrix.python-version }}
287+
allow-prereleases: true
286288
- name: Install mypy test requirements
287289
run: |
288290
cd mypy
@@ -320,10 +322,6 @@ jobs:
320322
uses: actions/checkout@v3
321323
with:
322324
repository: python-attrs/cattrs
323-
- name: Edit cattrs pyproject.toml
324-
# cattrs's python-requires means pdm won't let us add typing-extensions-latest
325-
# as a requirement unless we do this
326-
run: sed -i 's/^requires-python = .*/requires-python = ">=3.8"/' pyproject.toml
327325
- name: Checkout typing_extensions
328326
uses: actions/checkout@v3
329327
with:

0 commit comments

Comments
 (0)