Skip to content

Commit

Permalink
setup.py: add official support for Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
volans- committed Nov 23, 2023
1 parent b638367 commit ee1a185
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-tox.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.9", "3.10", "3.11"]
python: ["3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v3
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Text Processing',
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
minversion = 3.10.0
envlist = py{39,310,311}-{ruff,unit,mypy,prospector,sphinx}
envlist = py{39,310,311,312}-{ruff,unit,mypy,prospector,sphinx}
skip_missing_interpreters = True


Expand All @@ -18,6 +18,7 @@ description =
py39: (Python 3.9)
py310: (Python 3.10)
py311: (Python 3.11)
py312: (Python 3.12)
commands =
unit: py.test --strict-markers --cov-report=term-missing --cov=gjson tests/unit {posargs}
mypy: mypy --show-error-codes gjson/
Expand Down

0 comments on commit ee1a185

Please sign in to comment.