Skip to content

Commit

Permalink
add Python 3.12 build (seddonym#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
gruebel authored Aug 22, 2023
1 parent 60346a1 commit b7385f8
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,14 @@ jobs:

strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Install dependencies
run: |
python -VV
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Changelog
=========

Latest
-------------------

* Officially support Python 3.12.

1.11.1 (2023-08-21)
-------------------

Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,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",
"Topic :: Utilities",
]
Expand Down
10 changes: 6 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ envlist =
clean,
check,
docs,
py38,py39,py310,py311
py38,py39,py310,py311,py312
report

[testenv]
Expand All @@ -13,6 +13,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 @@ -21,9 +22,9 @@ passenv =
*
usedevelop = false
deps =
pytest~=7.0.1
pytest-cov~=3.0.0
PyYAML~=6.0
pytest~=7.4.0
pytest-cov~=4.1.0
PyYAML~=6.0.1
commands =
{posargs:pytest --cov --cov-report=term-missing -vv tests}

Expand Down Expand Up @@ -67,3 +68,4 @@ python =
3.9: py39, report
3.10: py310, report, check
3.11: py311, report, check, docs
3.12: py312, report

0 comments on commit b7385f8

Please sign in to comment.