Skip to content

Commit

Permalink
Start testing in Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
AWhetter committed Aug 31, 2023
1 parent a0c6ba3 commit cd52b28
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ jobs:
test:
strategy:
matrix:
python-version: [3.8, 3.9, '3.10', 3.11]
# Keep this in sync with tox.ini
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
Expand All @@ -17,6 +18,7 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
Expand Down
1 change: 1 addition & 0 deletions doc/changes/+91f4905e.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Start testing in Python 3.12
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Documentation :: Sphinx",
]
requires-python = ">=3.8"
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
isolated_build = true
envlist =
# Keep this in sync with .github/workflows/main.yml
py{38,39,310,311}
py{38,39,310,311,312}
format
typecheck
lint
Expand All @@ -15,6 +15,7 @@ python =
3.9: py39
3.10: py310
3.11: py311, format, typecheck, lint, doc, release_notes
3.12: py312

[testenv]
deps =
Expand Down

0 comments on commit cd52b28

Please sign in to comment.