[go: up one dir, main page]

Skip to content

Commit

Permalink
add py312 support
Browse files Browse the repository at this point in the history
  • Loading branch information
pacrob committed Jan 31, 2024
1 parent 8ffe3b8 commit b853f5c
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 5 deletions.
21 changes: 21 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,12 @@ jobs:
- image: cimg/python:3.11
environment:
TOXENV: py311-core
py312-core:
<<: *common
docker:
- image: cimg/python:3.12
environment:
TOXENV: py312-core

py38-lint:
<<: *common
Expand All @@ -119,6 +125,12 @@ jobs:
- image: cimg/python:3.11
environment:
TOXENV: py311-lint
py312-lint:
<<: *common
docker:
- image: cimg/python:3.12
environment:
TOXENV: py312-lint

py38-wheel:
<<: *common
Expand All @@ -144,6 +156,12 @@ jobs:
- image: cimg/python:3.11
environment:
TOXENV: py311-wheel
py312-wheel:
<<: *common
docker:
- image: cimg/python:3.12
environment:
TOXENV: py312-wheel

py311-wheel-windows:
<<: *windows_steps
Expand All @@ -159,12 +177,15 @@ workflows:
- py39-core
- py310-core
- py311-core
- py312-core
- py38-lint
- py39-lint
- py310-lint
- py311-lint
- py312-lint
- py38-wheel
- py39-wheel
- py310-wheel
- py311-wheel
- py312-wheel
- py311-wheel-windows
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,6 @@
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
)
11 changes: 6 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[tox]
envlist=
py{38,39,310,311}-core
py{38,39,310,311}-lint
py{38,39,310,311}-wheel
py{38,39,310,311,312}-core
py{38,39,310,311,312}-lint
py{38,39,310,311,312}-wheel
py311-wheel-windows
docs

Expand All @@ -23,18 +23,19 @@ basepython=
py39: python3.9
py310: python3.10
py311: python3.11
py312: python3.12
extras=
test
docs
allowlist_externals=make,pre-commit

[testenv:py{38,39,310,311}-lint]
[testenv:py{38,39,310,311,312}-lint]
deps=pre-commit
commands=
pre-commit install
pre-commit run --all-files --show-diff-on-failure

[testenv:py{38,39,310,311}-wheel]
[testenv:py{38,39,310,311,312}-wheel]
deps=
wheel
build[virtualenv]
Expand Down

0 comments on commit b853f5c

Please sign in to comment.