Skip to content

Commit 85deb55

Browse files
committed
Test on newer Python versions
1 parent 6ca98a1 commit 85deb55

File tree

6 files changed

+24
-6
lines changed

6 files changed

+24
-6
lines changed

.github/workflows/python_ci.yml

+4-1
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.6,3.7,3.8,3.9'
25+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12'
2626

2727
strategy:
2828
fail-fast: False
@@ -32,6 +32,9 @@ jobs:
3232
- {python-version: "3.7", testenvs: "py37,build", experimental: False}
3333
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
3434
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
35+
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
36+
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
37+
- {python-version: "3.12", testenvs: "py312,build", experimental: False}
3538

3639
steps:
3740
- name: Checkout 🛎️

.github/workflows/python_ci_linux.yml

+4-1
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.6,3.7,3.8,3.9'
26+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12'
2727

2828
strategy:
2929
fail-fast: False
@@ -33,6 +33,9 @@ jobs:
3333
- {python-version: "3.7", testenvs: "py37,build", experimental: False}
3434
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
3535
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
36+
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
37+
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
38+
- {python-version: "3.12", testenvs: "py312,build", experimental: False}
3639

3740
steps:
3841
- name: Checkout 🛎️

.github/workflows/python_ci_macos.yml

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

2727
strategy:
2828
fail-fast: False
@@ -32,6 +32,9 @@ jobs:
3232
- {python-version: "3.7", testenvs: "py37,build", experimental: False}
3333
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
3434
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
35+
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
36+
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
37+
- {python-version: "3.12", testenvs: "py312,build", experimental: False}
3538

3639
steps:
3740
- name: Checkout 🛎️

pyproject.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Homepage = "https://github.com/domdfcoding/whiptail"
2525
Documentation = "https://whiptail.readthedocs.io/en/latest"
2626

2727
[tool.importcheck]
28+
always = [ "whiptail",]
2829

2930
[tool.setuptools]
3031
zip-safe = false
@@ -39,7 +40,7 @@ base-classifiers = [
3940
"Topic :: Software Development :: Libraries :: Python Modules",
4041
"Typing :: Typed",
4142
]
42-
python-versions = [ "3.6", "3.7", "3.8", "3.9",]
43+
python-versions = [ "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12",]
4344
python-implementations = [ "CPython",]
4445
platforms = [ "Windows", "macOS", "Linux",]
4546
license-key = "BSD-3-Clause"

repo_helper.yml

+3
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ python_versions:
2020
- 3.7
2121
- 3.8
2222
- 3.9
23+
- '3.10'
24+
- '3.11'
25+
- '3.12'
2326

2427

2528
classifiers:

tox.ini

+7-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# * pytest
1919

2020
[tox]
21-
envlist = py36, py37, py38, py39, mypy, build
21+
envlist = py36, py37, py38, py39, py310, py311, py312, mypy, build
2222
skip_missing_interpreters = True
2323
isolated_build = True
2424
requires =
@@ -28,7 +28,7 @@ requires =
2828
virtualenv!=20.16.0
2929

3030
[envlists]
31-
test = py36, py37, py38, py39
31+
test = py36, py37, py38, py39, py310, py311, py312
3232
qa = mypy, lint
3333

3434
[testenv]
@@ -46,6 +46,11 @@ setenv =
4646
PYTHONDEVMODE=1
4747
PIP_DISABLE_PIP_VERSION_CHECK=1
4848

49+
[testenv:py312]
50+
setenv =
51+
PYTHONDEVMODE=1
52+
PIP_DISABLE_PIP_VERSION_CHECK=1
53+
4954
[testenv:docs]
5055
setenv = SHOW_TODOS = 1
5156
passenv = SPHINX_BUILDER

0 commit comments

Comments
 (0)