Skip to content

Commit

Permalink
Adds support for Python 3.12 (#609)
Browse files Browse the repository at this point in the history
  • Loading branch information
funkyfuture authored Oct 23, 2023
1 parent 84148a2 commit b392d3a
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
- 3.9 # 2025-10
- "3.10" # 2026-10
- 3.11 # 2027-10
- 3.12 # 2028-10
- pypy3.7
- pypy3.8
- pypy3.9
Expand Down Expand Up @@ -63,7 +64,7 @@ jobs:
ref: ${{ inputs.ref || github.ref }}
- uses: actions/setup-python@v4
with:
python-version: "3.11"
python-version: "3.12"
- run: python -m pip install tox
- run: tox -e ${{ matrix.environment }}

Expand Down
2 changes: 1 addition & 1 deletion .linting-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ repos:
hooks:
- id: black
args: [--check]
language_version: python3.11
language_version: python3.12
types:
- python
exclude: ^docs/conf.py$
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ repos:
hooks:
- id: black
args: [--quiet]
language_version: python3.11
language_version: python3.12
types:
- python
exclude: ^docs/conf.py$
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 :: Python :: Implementation :: PyPy",
]
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist=py37,py38,py39,py310,py311,pypy3,doclinks,doctest,linting
envlist=py37,py38,py39,py310,py311,py312,pypy3,doclinks,doctest,linting

[testenv]
deps=pytest
Expand Down

0 comments on commit b392d3a

Please sign in to comment.