Skip to content

Commit b1add35

Browse files
committed
Test on newer Python versions
1 parent d317e02 commit b1add35

File tree

6 files changed

+41
-10
lines changed

6 files changed

+41
-10
lines changed

.github/workflows/python_ci.yml

Lines changed: 5 additions & 2 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'
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'
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}
36+
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
37+
- {python-version: "3.12.0-rc.1", testenvs: "py312-dev,build", experimental: True}
3738
- {python-version: "pypy-3.6", testenvs: "pypy36", experimental: False}
3839
- {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.9", testenvs: "pypy39,build", experimental: True}
3942

4043
steps:
4144
- name: Checkout 🛎️

.github/workflows/python_ci_linux.yml

Lines changed: 5 additions & 2 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'
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'
2727

2828
strategy:
2929
fail-fast: False
@@ -34,9 +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.0-rc.1", testenvs: "py312-dev,build", experimental: True}
3839
- {python-version: "pypy-3.6", testenvs: "pypy36,build", experimental: False}
3940
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
41+
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: True}
42+
- {python-version: "pypy-3.9", testenvs: "pypy39,build", experimental: True}
4043

4144
steps:
4245
- name: Checkout 🛎️

.github/workflows/python_ci_macos.yml

Lines changed: 5 additions & 2 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'
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'
2626

2727
strategy:
2828
fail-fast: False
@@ -33,8 +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}
36+
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
37+
- {python-version: "3.12.0-rc.1", testenvs: "py312-dev,build", experimental: True}
3738
- {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.9", testenvs: "pypy39,build", experimental: True}
3841

3942
steps:
4043
- name: Checkout 🛎️

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ base-classifiers = [
3535
"Topic :: Utilities",
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",]
3939
python-implementations = [ "CPython", "PyPy",]
4040
platforms = [ "Windows", "macOS", "Linux",]
4141
license-key = "MIT"

repo_helper.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,12 @@ python_versions:
2424
- 3.8
2525
- 3.9
2626
- "3.10"
27-
- 3.11-dev
27+
- "3.11"
28+
- 3.12-dev
2829
- pypy36
2930
- pypy37
31+
- pypy38
32+
- pypy39
3033

3134
keywords:
3235
- sphinx

tox.ini

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,12 @@ envlist =
2525
py38
2626
py39
2727
py310
28-
py311-dev
28+
py311
29+
py312-dev
2930
pypy36
3031
pypy37
32+
pypy38
33+
pypy39
3134
mypy
3235
build
3336
skip_missing_interpreters = True
@@ -39,7 +42,18 @@ requires =
3942
virtualenv!=20.16.0
4043

4144
[envlists]
42-
test = py36, py37, py38, py39, py310, py311-dev, pypy36, pypy37
45+
test =
46+
py36
47+
py37
48+
py38
49+
py39
50+
py310
51+
py311
52+
py312-dev
53+
pypy36
54+
pypy37
55+
pypy38
56+
pypy39
4357
qa = mypy, lint
4458
cov = py38, coverage
4559

@@ -58,6 +72,11 @@ setenv =
5872
PYTHONDEVMODE=1
5973
PIP_DISABLE_PIP_VERSION_CHECK=1
6074

75+
[testenv:py312-dev]
76+
setenv =
77+
PYTHONDEVMODE=1
78+
PIP_DISABLE_PIP_VERSION_CHECK=1
79+
6180
[testenv:docs]
6281
setenv = SHOW_TODOS = 1
6382
passenv = SPHINX_BUILDER

0 commit comments

Comments
 (0)