Skip to content

Commit 6f4e12a

Browse files
committed
Start testing on Python 3.12
Closes #390
1 parent 1e6b1fa commit 6f4e12a

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ jobs:
88
test:
99
strategy:
1010
matrix:
11-
python-version: [3.7, 3.8, 3.9, '3.10', 3.11]
11+
# Keep this in sync with tox.ini
12+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
1213
platform: [ubuntu-latest, macos-latest, windows-latest]
1314
runs-on: ${{ matrix.platform }}
1415
steps:
@@ -19,6 +20,7 @@ jobs:
1920
uses: actions/setup-python@v4
2021
with:
2122
python-version: ${{ matrix.python-version }}
23+
allow-prereleases: true
2224
- name: Install dependencies
2325
run: |
2426
python -m pip install --upgrade pip setuptools wheel

docs/changes/390.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Start testing in Python 3.12

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
isolated_build = true
33
envlist =
44
# Keep this in sync with .github/workflows/main.yml
5-
py{37,38,39,310,311}
5+
py{37,38,39,310,311,312}
66
formatting
77
typecheck
88
lint
@@ -16,6 +16,7 @@ python =
1616
3.9: py39
1717
3.10: py310
1818
3.11: py311, formatting, typecheck, lint, docs, release_notes
19+
3.12: py312
1920

2021
[testenv]
2122
extras =

0 commit comments

Comments
 (0)