Skip to content

Commit

Permalink
GitHub workflows: Include Python 3.12 release version as standard, an…
Browse files Browse the repository at this point in the history
…d Python 3.13.0a2 as "future" test.
  • Loading branch information
ClaasRostock committed Dec 19, 2023
1 parent 137b5b5 commit ba17b74
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
toxenv: 'py310'
- version: '3.11'
toxenv: 'py311'
- version: '3.12'
toxenv: 'py312'
steps:
- uses: actions/checkout@v4
- name: Install Python ${{ matrix.python.version }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/_test_future.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
- runner: windows-latest
toxenv: windows
python:
- version: '3.12.0rc3'
toxenv: 'py312'
- version: '3.13.0a2'
toxenv: 'py313'
steps:
- uses: actions/checkout@v4
- name: Install Python ${{ matrix.python.version }}
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[tool.black]
line-length = 120
target-version = ["py39", "py310"]
target-version = ["py39", "py310", "py311", "py312"]

[tool.ruff]
exclude = [
Expand Down
7 changes: 4 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Operating System :: Microsoft :: Windows
Operating System :: POSIX :: Linux
Operating System :: MacOS
Expand Down Expand Up @@ -84,9 +85,9 @@ source =

[tox:tox]
isolated_build = True
envlist = py{39,310,311}-{linux,macos,windows}
# envlist = py{39,310,311}-{windows}
# envlist = py{39,310,311}
envlist = py{39,310,311,312}-{linux,macos,windows}
# envlist = py{39,310,311,312}-{windows}
# envlist = py{39,310,311,312}

[testenv]
system_site_packages = True
Expand Down

0 comments on commit ba17b74

Please sign in to comment.