Skip to content

Commit 8c47d01

Browse files
committed
Test on newer Python versions
1 parent 3a670be commit 8c47d01

File tree

6 files changed

+48
-16
lines changed

6 files changed

+48
-16
lines changed

.github/workflows/python_ci.yml

Lines changed: 6 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.7,3.8,3.9,3.10,3.11,pypy-3.7,pypy-3.8,pypy-3.9'
25+
USING_COVERAGE: '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
@@ -32,9 +32,11 @@ jobs:
3232
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
3333
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
3434
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
35-
- {python-version: "3.11", testenvs: "py311-dev,build", experimental: True}
36-
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
37-
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: True}
35+
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
36+
- {python-version: "3.12", testenvs: "py312,build", experimental: False}
37+
- {python-version: "3.13.0-alpha.1", testenvs: "py313-dev,build", experimental: True}
38+
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: False}
39+
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: False}
3840
- {python-version: "pypy-3.9", testenvs: "pypy39,build", experimental: True}
3941

4042
steps:

.github/workflows/python_ci_linux.yml

Lines changed: 6 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.7,3.8,3.9,3.10,3.11,pypy-3.7,pypy-3.8,pypy-3.9'
26+
USING_COVERAGE: '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'
2727

2828
strategy:
2929
fail-fast: False
@@ -33,9 +33,11 @@ jobs:
3333
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
3434
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
3535
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
36-
- {python-version: "3.11", testenvs: "py311-dev,build", experimental: True}
37-
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
38-
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: True}
36+
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
37+
- {python-version: "3.12", testenvs: "py312,build", experimental: False}
38+
- {python-version: "3.13.0-alpha.1", testenvs: "py313-dev,build", experimental: True}
39+
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: False}
40+
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: False}
3941
- {python-version: "pypy-3.9", testenvs: "pypy39,build", experimental: True}
4042

4143
steps:

.github/workflows/python_ci_macos.yml

Lines changed: 6 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.7,3.8,3.9,3.10,3.11,pypy-3.7,pypy-3.8,pypy-3.9'
25+
USING_COVERAGE: '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
@@ -32,9 +32,11 @@ jobs:
3232
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
3333
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
3434
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
35-
- {python-version: "3.11", testenvs: "py311-dev,build", experimental: True}
36-
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
37-
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: True}
35+
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
36+
- {python-version: "3.12", testenvs: "py312,build", experimental: False}
37+
- {python-version: "3.13.0-alpha.1", testenvs: "py313-dev,build", experimental: True}
38+
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: False}
39+
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: False}
3840
- {python-version: "pypy-3.9", testenvs: "pypy39,build", experimental: True}
3941

4042
steps:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ base-classifiers = [
3333
"Topic :: Software Development :: Testing :: Unit",
3434
"Typing :: Typed",
3535
]
36-
python-versions = [ "3.7", "3.8", "3.9", "3.10",]
36+
python-versions = [ "3.7", "3.8", "3.9", "3.10", "3.11", "3.12",]
3737
python-implementations = [ "CPython", "PyPy",]
3838
platforms = [ "Windows", "macOS", "Linux",]
3939
license-key = "MIT"

repo_helper.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ python_versions:
2121
- 3.8
2222
- 3.9
2323
- "3.10"
24-
- 3.11-dev
24+
- "3.11"
25+
- "3.12"
26+
- 3.13-dev
2527
- pypy37
2628
- pypy38
2729
- pypy39

tox.ini

Lines changed: 26 additions & 2 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
@@ -21,7 +23,9 @@ envlist =
2123
py38
2224
py39
2325
py310
24-
py311-dev
26+
py311
27+
py312
28+
py313-dev
2529
pypy37
2630
pypy38
2731
pypy39
@@ -36,7 +40,17 @@ requires =
3640
virtualenv!=20.16.0
3741

3842
[envlists]
39-
test = py37, py38, py39, py310, py311-dev, pypy37, pypy38, pypy39
43+
test =
44+
py37
45+
py38
46+
py39
47+
py310
48+
py311
49+
py312
50+
py313-dev
51+
pypy37
52+
pypy38
53+
pypy39
4054
qa = mypy, lint
4155

4256
[testenv]
@@ -54,6 +68,16 @@ setenv =
5468
PYTHONDEVMODE=1
5569
PIP_DISABLE_PIP_VERSION_CHECK=1
5670

71+
[testenv:py313-dev]
72+
setenv =
73+
PYTHONDEVMODE=1
74+
PIP_DISABLE_PIP_VERSION_CHECK=1
75+
76+
[testenv:py312]
77+
setenv =
78+
PYTHONDEVMODE=1
79+
PIP_DISABLE_PIP_VERSION_CHECK=1
80+
5781
[testenv:build]
5882
setenv =
5983
PYTHONDEVMODE=1

0 commit comments

Comments
 (0)