Skip to content

Commit

Permalink
feat: Support for Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
Stranger6667 committed Nov 29, 2023
1 parent 2659d51 commit db22b6a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-20.04]
python: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]

name: ${{ matrix.os }}/tests_${{ matrix.python }}
runs-on: ${{ matrix.os }}
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## [Unreleased] - TBD

### Added

- Support for Python 3.12.

## [0.10.0] - 2023-04-12

### Changed
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
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",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Software Development :: Testing",
]
Expand Down
7 changes: 4 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
isolated_build = true
envlist = py{37,38,39,310,311},coverage-report
envlist = py{37,38,39,310,311,312},coverage-report

[gh-actions]
python =
Expand All @@ -9,6 +9,7 @@ python =
3.9: py39
3.10: py310
3.11: py311
3.12: py312

[testenv]
extras =
Expand All @@ -25,9 +26,9 @@ allowlist_externals =

[testenv:coverage-report]
description = Report coverage over all measured test runs.
basepython = python3.7
basepython = python3.10
skip_install = true
depends = py{37,38,39,310,311}
depends = py{37,38,39,310,311,312}
commands =
coverage combine
coverage report
Expand Down

0 comments on commit db22b6a

Please sign in to comment.