Skip to content

Commit 5a2ceb2

Browse files
committed
Test on newer Python versions
1 parent f2cfac4 commit 5a2ceb2

File tree

6 files changed

+40
-16
lines changed

6 files changed

+40
-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.6,3.7,3.8,3.9,3.10,3.11,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
@@ -33,10 +33,12 @@ 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}
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-rc.1", testenvs: "py313-dev,build", experimental: True}
3739
- {python-version: "pypy-3.6", testenvs: "pypy36", experimental: False}
38-
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
39-
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: True}
40+
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: False}
41+
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: False}
4042
- {python-version: "pypy-3.9", testenvs: "pypy39,build", experimental: True}
4143

4244
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.6,3.7,3.8,3.9,3.10,3.11,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
@@ -34,10 +34,12 @@ jobs:
3434
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
3535
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
3636
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
37-
- {python-version: "3.11", testenvs: "py311-dev,build", experimental: True}
37+
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
38+
- {python-version: "3.12", testenvs: "py312,build", experimental: False}
39+
- {python-version: "3.13.0-rc.1", testenvs: "py313-dev,build", experimental: True}
3840
- {python-version: "pypy-3.6", testenvs: "pypy36,build", experimental: False}
39-
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
40-
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: True}
41+
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: False}
42+
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: False}
4143
- {python-version: "pypy-3.9", testenvs: "pypy39,build", experimental: True}
4244

4345
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.6,3.7,3.8,3.9,3.10,3.11,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
@@ -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-rc.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:

pyproject.toml

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

repo_helper.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ python_versions:
2323
- 3.8
2424
- 3.9
2525
- '3.10'
26-
- 3.11-dev
26+
- '3.11'
27+
- '3.12'
28+
- 3.13-dev
2729
- pypy36
2830
- pypy37
2931
- pypy38

tox.ini

Lines changed: 18 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
@@ -25,7 +27,9 @@ envlist =
2527
py38
2628
py39
2729
py310
28-
py311-dev
30+
py311
31+
py312
32+
py313-dev
2933
pypy36
3034
pypy37
3135
pypy38
@@ -47,7 +51,9 @@ test =
4751
py38
4852
py39
4953
py310
50-
py311-dev
54+
py311
55+
py312
56+
py313-dev
5157
pypy36
5258
pypy37
5359
pypy38
@@ -70,6 +76,16 @@ setenv =
7076
PYTHONDEVMODE=1
7177
PIP_DISABLE_PIP_VERSION_CHECK=1
7278

79+
[testenv:py313-dev]
80+
setenv =
81+
PYTHONDEVMODE=1
82+
PIP_DISABLE_PIP_VERSION_CHECK=1
83+
84+
[testenv:py312]
85+
setenv =
86+
PYTHONDEVMODE=1
87+
PIP_DISABLE_PIP_VERSION_CHECK=1
88+
7389
[testenv:docs]
7490
setenv = SHOW_TODOS = 1
7591
passenv = SPHINX_BUILDER

0 commit comments

Comments
 (0)