Skip to content

Commit d831cb3

Browse files
committed
Test on newer Python versions
1 parent 616c6cd commit d831cb3

File tree

6 files changed

+42
-17
lines changed

6 files changed

+42
-17
lines changed

.github/workflows/python_ci.yml

Lines changed: 5 additions & 4 deletions
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,3.10,3.11,3.12.0-rc.1,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9'
25+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12,3.13.0-alpha.1,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9'
2626

2727
strategy:
2828
fail-fast: False
@@ -34,10 +34,11 @@ jobs:
3434
- {python-version: "3.9", testenvs: "py39-click{7.1,8.0,8.1},build", experimental: False}
3535
- {python-version: "3.10", testenvs: "py310-click{7.1,8.0,8.1},build", experimental: False}
3636
- {python-version: "3.11", testenvs: "py311-click{7.1,8.0,8.1},build", experimental: False}
37-
- {python-version: "3.12.0-rc.1", testenvs: "py312-dev-click{7.1,8.0,8.1},build", experimental: True}
37+
- {python-version: "3.12", testenvs: "py312-click{7.1,8.0,8.1},build", experimental: False}
38+
- {python-version: "3.13.0-alpha.1", testenvs: "py313-dev-click{7.1,8.0,8.1},build", experimental: True}
3839
- {python-version: "pypy-3.6", testenvs: "pypy36-click{7.1,8.0,8.1}", experimental: False}
39-
- {python-version: "pypy-3.7", testenvs: "pypy37-click{7.1,8.0,8.1},build", experimental: True}
40-
- {python-version: "pypy-3.8", testenvs: "pypy38-click{7.1,8.0,8.1},build", experimental: True}
40+
- {python-version: "pypy-3.7", testenvs: "pypy37-click{7.1,8.0,8.1},build", experimental: False}
41+
- {python-version: "pypy-3.8", testenvs: "pypy38-click{7.1,8.0,8.1},build", experimental: False}
4142
- {python-version: "pypy-3.9", testenvs: "pypy39-click{7.1,8.0,8.1},build", experimental: True}
4243

4344
steps:

.github/workflows/python_ci_linux.yml

Lines changed: 5 additions & 4 deletions
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,3.10,3.11,3.12.0-rc.1,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9'
26+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12,3.13.0-alpha.1,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9'
2727

2828
strategy:
2929
fail-fast: False
@@ -35,10 +35,11 @@ jobs:
3535
- {python-version: "3.9", testenvs: "py39-click{7.1,8.0,8.1},build", experimental: False}
3636
- {python-version: "3.10", testenvs: "py310-click{7.1,8.0,8.1},build", experimental: False}
3737
- {python-version: "3.11", testenvs: "py311-click{7.1,8.0,8.1},build", experimental: False}
38-
- {python-version: "3.12.0-rc.1", testenvs: "py312-dev-click{7.1,8.0,8.1},build", experimental: True}
38+
- {python-version: "3.12", testenvs: "py312-click{7.1,8.0,8.1},build", experimental: False}
39+
- {python-version: "3.13.0-alpha.1", testenvs: "py313-dev-click{7.1,8.0,8.1},build", experimental: True}
3940
- {python-version: "pypy-3.6", testenvs: "pypy36-click{7.1,8.0,8.1},build", experimental: False}
40-
- {python-version: "pypy-3.7", testenvs: "pypy37-click{7.1,8.0,8.1},build", experimental: True}
41-
- {python-version: "pypy-3.8", testenvs: "pypy38-click{7.1,8.0,8.1},build", experimental: True}
41+
- {python-version: "pypy-3.7", testenvs: "pypy37-click{7.1,8.0,8.1},build", experimental: False}
42+
- {python-version: "pypy-3.8", testenvs: "pypy38-click{7.1,8.0,8.1},build", experimental: False}
4243
- {python-version: "pypy-3.9", testenvs: "pypy39-click{7.1,8.0,8.1},build", experimental: True}
4344

4445
steps:

.github/workflows/python_ci_macos.yml

Lines changed: 5 additions & 4 deletions
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,3.10,3.11,3.12.0-rc.1,pypy-3.7,pypy-3.8,pypy-3.9'
25+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12,3.13.0-alpha.1,pypy-3.7,pypy-3.8,pypy-3.9'
2626

2727
strategy:
2828
fail-fast: False
@@ -34,9 +34,10 @@ jobs:
3434
- {python-version: "3.9", testenvs: "py39-click{7.1,8.0,8.1},build", experimental: False}
3535
- {python-version: "3.10", testenvs: "py310-click{7.1,8.0,8.1},build", experimental: False}
3636
- {python-version: "3.11", testenvs: "py311-click{7.1,8.0,8.1},build", experimental: False}
37-
- {python-version: "3.12.0-rc.1", testenvs: "py312-dev-click{7.1,8.0,8.1},build", experimental: True}
38-
- {python-version: "pypy-3.7", testenvs: "pypy37-click{7.1,8.0,8.1},build", experimental: True}
39-
- {python-version: "pypy-3.8", testenvs: "pypy38-click{7.1,8.0,8.1},build", experimental: True}
37+
- {python-version: "3.12", testenvs: "py312-click{7.1,8.0,8.1},build", experimental: False}
38+
- {python-version: "3.13.0-alpha.1", testenvs: "py313-dev-click{7.1,8.0,8.1},build", experimental: True}
39+
- {python-version: "pypy-3.7", testenvs: "pypy37-click{7.1,8.0,8.1},build", experimental: False}
40+
- {python-version: "pypy-3.8", testenvs: "pypy38-click{7.1,8.0,8.1},build", experimental: False}
4041
- {python-version: "pypy-3.9", testenvs: "pypy39-click{7.1,8.0,8.1},build", experimental: True}
4142

4243
steps:

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ classifiers = [
2323
"Programming Language :: Python :: 3.9",
2424
"Programming Language :: Python :: 3.10",
2525
"Programming Language :: Python :: 3.11",
26+
"Programming Language :: Python :: 3.12",
2627
"Programming Language :: Python :: Implementation :: CPython",
2728
"Programming Language :: Python :: Implementation :: PyPy",
2829
"Topic :: Software Development :: Libraries :: Python Modules",
@@ -154,7 +155,7 @@ base-classifiers = [
154155
"Topic :: Software Development :: Libraries :: Python Modules",
155156
"Typing :: Typed",
156157
]
157-
python-versions = [ "3.6", "3.7", "3.8", "3.9", "3.10", "3.11",]
158+
python-versions = [ "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12",]
158159
python-implementations = [ "CPython", "PyPy",]
159160
platforms = [ "Windows", "macOS", "Linux",]
160161
license-key = "MIT"

repo_helper.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ python_versions:
2626
- 3.9
2727
- "3.10"
2828
- "3.11"
29-
- 3.12-dev
29+
- "3.12"
30+
- 3.13-dev
3031
- pypy36
3132
- pypy37
3233
- pypy38

tox.ini

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
# * tox
44
# * envlists
55
# * testenv:.package
6+
# * testenv:py313-dev
67
# * testenv:py312-dev
8+
# * testenv:py312
79
# * testenv:docs
810
# * testenv:build
911
# * testenv:lint
@@ -24,7 +26,8 @@ envlist =
2426
py39-click{7.1,8.0,8.1}
2527
py310-click{7.1,8.0,8.1}
2628
py311-click{7.1,8.0,8.1}
27-
py312-dev-click{7.1,8.0,8.1}
29+
py312-click{7.1,8.0,8.1}
30+
py313-dev-click{7.1,8.0,8.1}
2831
pypy36-click{7.1,8.0,8.1}
2932
pypy37-click{7.1,8.0,8.1}
3033
pypy38-click{7.1,8.0,8.1}
@@ -47,7 +50,8 @@ test =
4750
py39-click{7.1,8.0,8.1}
4851
py310-click{7.1,8.0,8.1}
4952
py311-click{7.1,8.0,8.1}
50-
py312-dev-click{7.1,8.0,8.1}
53+
py312-click{7.1,8.0,8.1}
54+
py313-dev-click{7.1,8.0,8.1}
5155
pypy36-click{7.1,8.0,8.1}
5256
pypy37-click{7.1,8.0,8.1}
5357
pypy38-click{7.1,8.0,8.1}
@@ -60,7 +64,12 @@ setenv =
6064
PYTHONDEVMODE=1
6165
PIP_DISABLE_PIP_VERSION_CHECK=1
6266

63-
[testenv:py312-dev]
67+
[testenv:py313-dev]
68+
setenv =
69+
PYTHONDEVMODE=1
70+
PIP_DISABLE_PIP_VERSION_CHECK=1
71+
72+
[testenv:py312]
6473
setenv =
6574
PYTHONDEVMODE=1
6675
PIP_DISABLE_PIP_VERSION_CHECK=1
@@ -203,6 +212,7 @@ plugins = coverage_pyver_pragma
203212
204213
[coverage:report]
205214
fail_under = 90
215+
show_missing = True
206216
exclude_lines =
207217
raise AssertionError
208218
raise NotImplementedError
@@ -217,6 +227,16 @@ ignore = W002
217227
toplevel = consolekit
218228
package = consolekit
219229
230+
[testenv:py312-click{7.1,8.0,8.1}]
231+
setenv =
232+
PYTHONDEVMODE=1
233+
PIP_DISABLE_PIP_VERSION_CHECK=1
234+
235+
[testenv:py313-dev-click{7.1,8.0,8.1}]
236+
setenv =
237+
PYTHONDEVMODE=1
238+
PIP_DISABLE_PIP_VERSION_CHECK=1
239+
220240
[testenv:py312-dev-click{7.1,8.0,8.1}]
221241
setenv =
222242
PYTHONDEVMODE=1

0 commit comments

Comments
 (0)