Skip to content

Commit

Permalink
Added Python 3.12 Support
Browse files Browse the repository at this point in the history
  • Loading branch information
Nusnus committed Nov 13, 2023
1 parent 07f9c59 commit 6595953
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
- name: Install apt packages
run: sudo apt update

- name: Set up Python 3.11
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: '3.11'
python-version: '3.12'

- name: Install dependencies
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/parallel-support.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.11"]
python-version: ["3.12"]
os: ["ubuntu-latest"]

steps:
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.11"]
python-version: ["3.12"]
os: ["ubuntu-latest"]

steps:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
os: ["ubuntu-latest"]

steps:
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
os: ["ubuntu-latest"]

steps:
Expand Down Expand Up @@ -130,7 +130,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
os: ["ubuntu-latest"]

steps:
Expand Down
18 changes: 10 additions & 8 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ requires =
tox>4
tox-gh-actions
envlist =
{py38,py39,py310,py311}-unit
{py38,py39,py310,py311}-integration
{py38,py39,py310,py311}-smoke
{py38,py39,py310,py311,py312}-unit
{py38,py39,py310,py311,py312}-integration
{py38,py39,py310,py311,py312}-smoke
suicide_timeout = 1

[gh-actions]
Expand All @@ -15,6 +15,7 @@ python =
3.9: py39-unit, py39-integration, py39-smoke
3.10: py310-unit, py310-integration, py310-smoke
3.11: py311-unit, py311-integration, py311-smoke
3.12: py312-unit, py312-integration, py312-smoke

[testenv]
description =
Expand All @@ -35,12 +36,13 @@ basepython =
3.9: py39
3.10: py310
3.11: py311
3.12: py312
pypy3: pypy3
mypy: py311
lint: py311
clean: py311
xdist: py311
parallel: py311
mypy: py312
lint: py312
clean: py312
xdist: py312
parallel: py312
usedevelop = True

[testenv:xdist]
Expand Down

0 comments on commit 6595953

Please sign in to comment.