Skip to content

Commit

Permalink
Add support for Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
seddonym committed Jan 8, 2024
1 parent cc8cbf6 commit 8b885df
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Unreleased
* Allow configuring sibling layer independence.
* Fix bug where a warning would be logged if a non-Python file with multiple dots
in the filename was encountered.
* Formally add support for Python 3.12.

3.1 (2023-10-13)
----------------
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,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 :: Rust",
"Topic :: Utilities",
Expand Down
8 changes: 5 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ envlist =
clean,
check,
docs,
{py38,py39,py310,py311},
{py38,py39,py310,py311,py312},
report

[testenv]
Expand All @@ -12,6 +12,7 @@ basepython =
py39: {env:TOXPYTHON:python3.9}
py310: {env:TOXPYTHON:python3.10}
py311: {env:TOXPYTHON:python3.11}
py312: {env:TOXPYTHON:python3.12}
{clean,check,docs,report}: {env:TOXPYTHON:python3}
setenv =
PYTHONPATH={toxinidir}/tests
Expand All @@ -33,7 +34,7 @@ commands =
{posargs:pytest --cov --cov-report=term-missing -vv tests}

[testenv:check]
basepython = py311
basepython = py312
deps =
black==23.9.1
flake8==7.0.0
Expand Down Expand Up @@ -70,4 +71,5 @@ python =
3.8: py38, report
3.9: py39, report
3.10: py310, report
3.11: py311, report, check, docs
3.11: py311
3.12: py312, report, check, docs

0 comments on commit 8b885df

Please sign in to comment.