Skip to content

Commit

Permalink
build: declare support on 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
Ned Batchelder committed Oct 3, 2023
1 parent 9f2be77 commit a4c5769
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ jobs:
3.9
3.10
3.11
3.12
- name: "Restore cache"
id: "restore-cache"
Expand Down Expand Up @@ -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'

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down

0 comments on commit a4c5769

Please sign in to comment.