Skip to content

Commit

Permalink
Merge pull request #334 from mesozoic/py312
Browse files Browse the repository at this point in the history
Add Python 3.12 to tox
  • Loading branch information
mesozoic committed Feb 1, 2024
2 parents 542a4a1 + ef4647c commit 39cb2b8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_lint_deploy.yml
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.8", "3.9", "3.10", "3.11"]
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v3
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,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

Expand Down
6 changes: 2 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
envlist =
pre-commit
mypy
mypy-pydantic1
py3{8,9,10,11}-requests{min,max}
py3{8,9,10,11}-pydantic1
py3{8,9,10,11,12}{,-pydantic1,-requestsmin}
coverage

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

[testenv:pre-commit]
deps = pre-commit
Expand All @@ -32,7 +31,6 @@ commands = python -m pytest {posargs}
deps =
-r requirements-test.txt
requestsmin: requests==2.22.0 # Keep in sync with setup.cfg
requestsmax: requests>=2.22.0 # Keep in sync with setup.cfg
pydantic1: pydantic<2 # Lots of projects still use 1.x

[testenv:coverage]
Expand Down

0 comments on commit 39cb2b8

Please sign in to comment.