Skip to content

Commit b853f5c

Browse files
committed
add py312 support
1 parent 8ffe3b8 commit b853f5c

File tree

3 files changed

+28
-5
lines changed

3 files changed

+28
-5
lines changed

.circleci/config.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,12 @@ jobs:
9494
- image: cimg/python:3.11
9595
environment:
9696
TOXENV: py311-core
97+
py312-core:
98+
<<: *common
99+
docker:
100+
- image: cimg/python:3.12
101+
environment:
102+
TOXENV: py312-core
97103

98104
py38-lint:
99105
<<: *common
@@ -119,6 +125,12 @@ jobs:
119125
- image: cimg/python:3.11
120126
environment:
121127
TOXENV: py311-lint
128+
py312-lint:
129+
<<: *common
130+
docker:
131+
- image: cimg/python:3.12
132+
environment:
133+
TOXENV: py312-lint
122134

123135
py38-wheel:
124136
<<: *common
@@ -144,6 +156,12 @@ jobs:
144156
- image: cimg/python:3.11
145157
environment:
146158
TOXENV: py311-wheel
159+
py312-wheel:
160+
<<: *common
161+
docker:
162+
- image: cimg/python:3.12
163+
environment:
164+
TOXENV: py312-wheel
147165

148166
py311-wheel-windows:
149167
<<: *windows_steps
@@ -159,12 +177,15 @@ workflows:
159177
- py39-core
160178
- py310-core
161179
- py311-core
180+
- py312-core
162181
- py38-lint
163182
- py39-lint
164183
- py310-lint
165184
- py311-lint
185+
- py312-lint
166186
- py38-wheel
167187
- py39-wheel
168188
- py310-wheel
169189
- py311-wheel
190+
- py312-wheel
170191
- py311-wheel-windows

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,6 @@
6767
"Programming Language :: Python :: 3.9",
6868
"Programming Language :: Python :: 3.10",
6969
"Programming Language :: Python :: 3.11",
70+
"Programming Language :: Python :: 3.12",
7071
],
7172
)

tox.ini

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[tox]
22
envlist=
3-
py{38,39,310,311}-core
4-
py{38,39,310,311}-lint
5-
py{38,39,310,311}-wheel
3+
py{38,39,310,311,312}-core
4+
py{38,39,310,311,312}-lint
5+
py{38,39,310,311,312}-wheel
66
py311-wheel-windows
77
docs
88

@@ -23,18 +23,19 @@ basepython=
2323
py39: python3.9
2424
py310: python3.10
2525
py311: python3.11
26+
py312: python3.12
2627
extras=
2728
test
2829
docs
2930
allowlist_externals=make,pre-commit
3031

31-
[testenv:py{38,39,310,311}-lint]
32+
[testenv:py{38,39,310,311,312}-lint]
3233
deps=pre-commit
3334
commands=
3435
pre-commit install
3536
pre-commit run --all-files --show-diff-on-failure
3637

37-
[testenv:py{38,39,310,311}-wheel]
38+
[testenv:py{38,39,310,311,312}-wheel]
3839
deps=
3940
wheel
4041
build[virtualenv]

0 commit comments

Comments
 (0)