diff --git a/.github/workflows/reusable-pytest.yml b/.github/workflows/reusable-pytest.yml index a66d3312..7dea67cc 100644 --- a/.github/workflows/reusable-pytest.yml +++ b/.github/workflows/reusable-pytest.yml @@ -18,6 +18,7 @@ jobs: - "pypy-3.7" - "pypy-3.8" - "pypy-3.9" + - "3.12" - "3.11" - "3.10" - "3.9" @@ -46,6 +47,7 @@ jobs: uses: actions/setup-python@v4 with: python-version: ${{ matrix.py }} + allow-prereleases: true - name: Pick environment to run run: | diff --git a/pyproject.toml b/pyproject.toml index 668b8292..daef1b59 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,6 +24,7 @@ classifiers = [ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", ] diff --git a/tox.ini b/tox.ini index 159d8b45..607f851f 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ envlist = type docs path - {py311, py310, py39, py38, py37, pypy37, pypy38, pypy39}{, -min} + {py312, py311, py310, py39, py38, py37, pypy37, pypy38, pypy39}{, -min} isolated_build = true skip_missing_interpreters = true minversion = 3.14 @@ -60,7 +60,7 @@ setenv = commands = mypy -[testenv:{py311, py310, py39, py38, py37, pypy37, pypy38, pypy39}-min] +[testenv:{py312, py311, py310, py39, py38, py37, pypy37, pypy38, pypy39}-min] description = check minimum versions required of all dependencies skip_install = true commands_pre = @@ -103,4 +103,4 @@ commands = coverage xml -o {toxworkdir}/coverage.xml -i coverage html -d {toxworkdir}/htmlcov -i python -m diff_cover.diff_cover_tool --compare-branch {env:DIFF_AGAINST:origin/main} {toxworkdir}/coverage.xml -depends = {py311, py310, py39, py38, py37, pypy37, pypy38, pypy39}{,-min}, path +depends = {py312, py311, py310, py39, py38, py37, pypy37, pypy38, pypy39}{,-min}, path