diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 90b3669..f32b3a9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -48,6 +48,7 @@ jobs: 3.9 3.10 3.11 + 3.12 - name: "Restore cache" id: "restore-cache" @@ -107,7 +108,7 @@ jobs: - name: "Set up Python" uses: "actions/setup-python@v4" with: - python-version: "3.11" + python-version: "3.12" cache: pip cache-dependency-path: 'requirements/*.txt' diff --git a/Makefile b/Makefile index 7530512..5ffce59 100644 --- a/Makefile +++ b/Makefile @@ -37,7 +37,7 @@ sterile: clean ## remove absolutely all built artifacts rm -fr .tox coverage: clean ## generate and view HTML coverage report - tox -e py37,py311,coverage + tox -e py37,py312,coverage $(BROWSER)htmlcov/index.html docs: botedits ## generate Sphinx HTML documentation, including API docs diff --git a/setup.cfg b/setup.cfg index f761495..084a664 100644 --- a/setup.cfg +++ b/setup.cfg @@ -20,6 +20,7 @@ classifiers = Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 + Programming Language :: Python :: 3.12 project_urls = # For some reason, these appear in reverse order on pypi... Mastodon = https://hachyderm.io/@nedbat diff --git a/tox.ini b/tox.ini index e65ff62..9c42826 100644 --- a/tox.ini +++ b/tox.ini @@ -1,13 +1,13 @@ [tox] envlist = # Run on all our Pythons: - py3{7,8,9,10,11}, + py3{7,8,9,10,11,12}, # Run with no extras on lowest and highest version: - py3{7,11}-no_extras, + py3{7,12}-no_extras, # And the rest: pypy3, coverage, docs, quality labels = - ci-tests = py3{7,8,9,10,11},pypy3 + ci-tests = py3{7,8,9,10,11,12},pypy3 [testenv] package = wheel @@ -29,8 +29,8 @@ commands = coverage run -p -m pytest -Wd {posargs} [testenv:coverage] -depends = py37,py38,py39,py310,py311,pypy3 -basepython = python3.11 +depends = py37,py38,py39,py310,py311,py312,pypy3 +basepython = python3.12 commands = coverage combine -q coverage report -m --skip-covered