Skip to content

Commit b02e042

Browse files
committed
Test on newer Python versions
1 parent e3b2080 commit b02e042

File tree

6 files changed

+55
-16
lines changed

6 files changed

+55
-16
lines changed

.github/workflows/python_ci.yml

Lines changed: 7 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'
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
@@ -33,10 +33,13 @@ 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-alpha.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}
42+
- {python-version: "pypy-3.9", testenvs: "pypy39,build", experimental: True}
4043

4144
steps:
4245
- name: Checkout 🛎️

.github/workflows/python_ci_linux.yml

Lines changed: 7 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'
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
@@ -34,10 +34,13 @@ 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-alpha.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}
43+
- {python-version: "pypy-3.9", testenvs: "pypy39,build", experimental: True}
4144

4245
steps:
4346
- name: Checkout 🛎️

.github/workflows/python_ci_macos.yml

Lines changed: 7 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'
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
@@ -33,9 +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}
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}
41+
- {python-version: "pypy-3.9", testenvs: "pypy39,build", experimental: True}
3942

4043
steps:
4144
- name: Checkout 🛎️

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ base-classifiers = [
3232
"Topic :: Utilities",
3333
"Typing :: Typed",
3434
]
35-
python-versions = [ "3.6", "3.7", "3.8", "3.9", "3.10",]
35+
python-versions = [ "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12",]
3636
python-implementations = [ "CPython", "PyPy",]
3737
platforms = [ "Windows", "macOS", "Linux",]
3838
license-key = "MIT"

repo_helper.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,13 @@ python_versions:
2727
- '3.8'
2828
- '3.9'
2929
- "3.10"
30-
- 3.11-dev
30+
- "3.11"
31+
- "3.12"
32+
- 3.13-dev
3133
- pypy36
3234
- pypy37
3335
- pypy38
36+
- pypy39
3437

3538
classifiers:
3639
- 'Development Status :: 4 - Beta'

tox.ini

Lines changed: 29 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,10 +27,13 @@ envlist =
2527
py38
2628
py39
2729
py310
28-
py311-dev
30+
py311
31+
py312
32+
py313-dev
2933
pypy36
3034
pypy37
3135
pypy38
36+
pypy39
3237
mypy
3338
build
3439
skip_missing_interpreters = True
@@ -40,7 +45,19 @@ requires =
4045
virtualenv!=20.16.0
4146

4247
[envlists]
43-
test = py36, py37, py38, py39, py310, py311-dev, pypy36, pypy37, pypy38
48+
test =
49+
py36
50+
py37
51+
py38
52+
py39
53+
py310
54+
py311
55+
py312
56+
py313-dev
57+
pypy36
58+
pypy37
59+
pypy38
60+
pypy39
4461
qa = mypy, lint
4562
cov = py36, coverage
4663

@@ -59,6 +76,16 @@ setenv =
5976
PYTHONDEVMODE=1
6077
PIP_DISABLE_PIP_VERSION_CHECK=1
6178

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+
6289
[testenv:docs]
6390
setenv = SHOW_TODOS = 1
6491
passenv = SPHINX_BUILDER

0 commit comments

Comments
 (0)