Skip to content

Commit 50d43c5

Browse files
committed
Test on Python 3.12
1 parent aeec2aa commit 50d43c5

6 files changed

Lines changed: 16 additions & 6 deletions

File tree

.github/workflows/python_ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: "windows-2019"
2323
continue-on-error: ${{ matrix.config.experimental }}
2424
env:
25-
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11'
25+
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11,3.12'
2626

2727
strategy:
2828
fail-fast: False
@@ -33,6 +33,7 @@ jobs:
3333
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
3434
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
3535
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
36+
- {python-version: "3.12", testenvs: "py312,build", experimental: False}
3637

3738
steps:
3839
- name: Checkout 🛎️

.github/workflows/python_ci_linux.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: "ubuntu-20.04"
2424
continue-on-error: ${{ matrix.config.experimental }}
2525
env:
26-
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11'
26+
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11,3.12'
2727

2828
strategy:
2929
fail-fast: False
@@ -34,6 +34,7 @@ jobs:
3434
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
3535
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
3636
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
37+
- {python-version: "3.12", testenvs: "py312,build", experimental: False}
3738

3839
steps:
3940
- name: Checkout 🛎️

.github/workflows/python_ci_macos.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: "macos-13"
2323
continue-on-error: ${{ matrix.config.experimental }}
2424
env:
25-
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11'
25+
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11,3.12'
2626

2727
strategy:
2828
fail-fast: False
@@ -33,6 +33,7 @@ jobs:
3333
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
3434
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
3535
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
36+
- {python-version: "3.12", testenvs: "py312,build", experimental: False}
3637

3738
steps:
3839
- name: Checkout 🛎️

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ base-classifiers = [
4343
"Topic :: Scientific/Engineering :: Visualization",
4444
"Topic :: Software Development :: Libraries :: Python Modules",
4545
]
46-
python-versions = [ "3.7", "3.8", "3.9", "3.10", "3.11",]
46+
python-versions = [ "3.7", "3.8", "3.9", "3.10", "3.11", "3.12",]
4747
python-implementations = [ "CPython",]
4848
platforms = [ "Windows", "macOS", "Linux",]
4949
license-key = "GPL-2.0-only"

repo_helper.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ python_versions:
3030
- 3.9
3131
- '3.10'
3232
- '3.11'
33+
- '3.12'
3334

3435
classifiers:
3536
- "Development Status :: 5 - Production/Stable"

tox.ini

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
# * check-wheel-contents
2222

2323
[tox]
24-
envlist = py37, py38, py39, py310, py311, mypy, build
24+
envlist = py37, py38, py39, py310, py311, py312, mypy, build
2525
skip_missing_interpreters = True
2626
isolated_build = True
2727
requires =
@@ -31,7 +31,7 @@ requires =
3131
virtualenv!=20.16.0
3232

3333
[envlists]
34-
test = py37, py38, py39, py310, py311
34+
test = py37, py38, py39, py310, py311, py312
3535
qa = mypy, lint
3636
cov = py38, coverage
3737

@@ -50,6 +50,12 @@ setenv =
5050
PYTHONDEVMODE=1
5151
PIP_DISABLE_PIP_VERSION_CHECK=1
5252

53+
[testenv:py312]
54+
download = True
55+
setenv =
56+
PYTHONDEVMODE=1
57+
PIP_DISABLE_PIP_VERSION_CHECK=1
58+
5359
[testenv:docs]
5460
setenv = SHOW_TODOS = 1
5561
passenv = SPHINX_BUILDER

0 commit comments

Comments
 (0)