Skip to content

Commit c268f4d

Browse files
committed
Test on Python 3.13
1 parent 6da3e64 commit c268f4d

File tree

6 files changed

+36
-18
lines changed

6 files changed

+36
-18
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-rc.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,8.0,8.1},build", experimental: False}
3535
- {python-version: "3.10", testenvs: "py310-click{7,8.0,8.1},build", experimental: False}
3636
- {python-version: "3.11", testenvs: "py311-click{7,8.0,8.1},build", experimental: False}
37-
- {python-version: "3.12.0-rc.1", testenvs: "py312-dev-click{7,8.0,8.1},build", experimental: True}
37+
- {python-version: "3.12", testenvs: "py312-click{7,8.0,8.1},build", experimental: False}
38+
- {python-version: "3.13.0-rc.1", testenvs: "py313-dev-click{7,8.0,8.1},build", experimental: True}
3839
- {python-version: "pypy-3.6", testenvs: "pypy36-click{7,8.0}", experimental: False}
39-
- {python-version: "pypy-3.7", testenvs: "pypy37-click{7,8.0,8.1},build", experimental: True}
40-
- {python-version: "pypy-3.8", testenvs: "pypy38-click{7,8.0,8.1},build", experimental: True}
40+
- {python-version: "pypy-3.7", testenvs: "pypy37-click{7,8.0,8.1},build", experimental: False}
41+
- {python-version: "pypy-3.8", testenvs: "pypy38-click{7,8.0,8.1},build", experimental: False}
4142
- {python-version: "pypy-3.9", testenvs: "pypy39-click{7,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-rc.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,8.0,8.1},build", experimental: False}
3636
- {python-version: "3.10", testenvs: "py310-click{7,8.0,8.1},build", experimental: False}
3737
- {python-version: "3.11", testenvs: "py311-click{7,8.0,8.1},build", experimental: False}
38-
- {python-version: "3.12.0-rc.1", testenvs: "py312-dev-click{7,8.0,8.1},build", experimental: True}
38+
- {python-version: "3.12", testenvs: "py312-click{7,8.0,8.1},build", experimental: False}
39+
- {python-version: "3.13.0-rc.1", testenvs: "py313-dev-click{7,8.0,8.1},build", experimental: True}
3940
- {python-version: "pypy-3.6", testenvs: "pypy36-click{7,8.0},build", experimental: False}
40-
- {python-version: "pypy-3.7", testenvs: "pypy37-click{7,8.0,8.1},build", experimental: True}
41-
- {python-version: "pypy-3.8", testenvs: "pypy38-click{7,8.0,8.1},build", experimental: True}
41+
- {python-version: "pypy-3.7", testenvs: "pypy37-click{7,8.0,8.1},build", experimental: False}
42+
- {python-version: "pypy-3.8", testenvs: "pypy38-click{7,8.0,8.1},build", experimental: False}
4243
- {python-version: "pypy-3.9", testenvs: "pypy39-click{7,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-rc.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,8.0,8.1},build", experimental: False}
3535
- {python-version: "3.10", testenvs: "py310-click{7,8.0,8.1},build", experimental: False}
3636
- {python-version: "3.11", testenvs: "py311-click{7,8.0,8.1},build", experimental: False}
37-
- {python-version: "3.12.0-rc.1", testenvs: "py312-dev-click{7,8.0,8.1},build", experimental: True}
38-
- {python-version: "pypy-3.7", testenvs: "pypy37-click{7,8.0,8.1},build", experimental: True}
39-
- {python-version: "pypy-3.8", testenvs: "pypy38-click{7,8.0,8.1},build", experimental: True}
37+
- {python-version: "3.12", testenvs: "py312-click{7,8.0,8.1},build", experimental: False}
38+
- {python-version: "3.13.0-rc.1", testenvs: "py313-dev-click{7,8.0,8.1},build", experimental: True}
39+
- {python-version: "pypy-3.7", testenvs: "pypy37-click{7,8.0,8.1},build", experimental: False}
40+
- {python-version: "pypy-3.8", testenvs: "pypy38-click{7,8.0,8.1},build", experimental: False}
4041
- {python-version: "pypy-3.9", testenvs: "pypy39-click{7,8.0,8.1},build", experimental: True}
4142

4243
steps:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ base-classifiers = [
3434
"Intended Audience :: Developers",
3535
"Typing :: Typed",
3636
]
37-
python-versions = [ "3.6", "3.7", "3.8", "3.9", "3.10", "3.11",]
37+
python-versions = [ "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12",]
3838
python-implementations = [ "CPython", "PyPy",]
3939
platforms = [ "Windows", "macOS", "Linux",]
4040
license-key = "MIT"

repo_helper.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ python_versions:
3131
'3.9':
3232
'3.10':
3333
'3.11':
34-
3.12-dev:
34+
'3.12':
35+
3.13-dev:
3536
pypy36:
3637
matrix_exclude:
3738
click:

tox.ini

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
# * envlists
55
# * testenv
66
# * testenv:.package
7+
# * testenv:py313-dev
78
# * testenv:py312-dev
9+
# * testenv:py312
810
# * testenv:docs
911
# * testenv:build
1012
# * testenv:lint
@@ -26,7 +28,8 @@ envlist =
2628
py39-click{7,8.0,8.1}
2729
py310-click{7,8.0,8.1}
2830
py311-click{7,8.0,8.1}
29-
py312-dev-click{7,8.0,8.1}
31+
py312-click{7,8.0,8.1}
32+
py313-dev-click{7,8.0,8.1}
3033
pypy36-click{7,8.0}
3134
pypy37-click{7,8.0,8.1}
3235
pypy38-click{7,8.0,8.1}
@@ -49,7 +52,8 @@ test =
4952
py39-click{7,8.0,8.1}
5053
py310-click{7,8.0,8.1}
5154
py311-click{7,8.0,8.1}
52-
py312-dev-click{7,8.0,8.1}
55+
py312-click{7,8.0,8.1}
56+
py313-dev-click{7,8.0,8.1}
5357
pypy36-click{7,8.0}
5458
pypy37-click{7,8.0,8.1}
5559
pypy38-click{7,8.0,8.1}
@@ -76,7 +80,12 @@ setenv =
7680
PYTHONDEVMODE=1
7781
PIP_DISABLE_PIP_VERSION_CHECK=1
7882

79-
[testenv:py312-dev]
83+
[testenv:py313-dev]
84+
setenv =
85+
PYTHONDEVMODE=1
86+
PIP_DISABLE_PIP_VERSION_CHECK=1
87+
88+
[testenv:py312]
8089
setenv =
8190
PYTHONDEVMODE=1
8291
PIP_DISABLE_PIP_VERSION_CHECK=1
@@ -237,7 +246,12 @@ filterwarnings =
237246
ignore:lib2to3 package is deprecated and may not be able to parse Python 3.10+:PendingDeprecationWarning
238247
always:ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead:DeprecationWarning
239248
240-
[testenv:py312-dev-click{7,8.0,8.1}]
249+
[testenv:py312-click{7,8.0,8.1}]
250+
setenv =
251+
PYTHONDEVMODE=1
252+
PIP_DISABLE_PIP_VERSION_CHECK=1
253+
254+
[testenv:py313-dev-click{7,8.0,8.1}]
241255
setenv =
242256
PYTHONDEVMODE=1
243257
PIP_DISABLE_PIP_VERSION_CHECK=1

0 commit comments

Comments
 (0)