Skip to content

Commit 685eb24

Browse files
committed
Test on newer Python versions
1 parent dcca579 commit 685eb24

File tree

6 files changed

+36
-10
lines changed

6 files changed

+36
-10
lines changed

.github/workflows/python_ci.yml

Lines changed: 4 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,pypy-3.8'
25+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12.0-beta.4,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.0-beta.4", testenvs: "py312-dev,build", experimental: True}
3738
- {python-version: "pypy-3.6", testenvs: "pypy36,build", experimental: False}
3839
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
3940
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: True}
41+
- {python-version: "pypy-3.9", testenvs: "pypy39", experimental: True}
4042

4143
steps:
4244
- name: Checkout 🛎️

.github/workflows/python_ci_linux.yml

Lines changed: 4 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,pypy-3.8'
26+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12.0-beta.4,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.0-beta.4", 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}
4041
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: True}
42+
- {python-version: "pypy-3.9", testenvs: "pypy39", experimental: True}
4143

4244
steps:
4345
- name: Checkout 🛎️

.github/workflows/python_ci_macos.yml

Lines changed: 4 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,pypy-3.8'
25+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12.0-beta.4,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}
36+
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
37+
- {python-version: "3.12.0-beta.4", testenvs: "py312-dev,build", experimental: True}
3738
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
3839
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: True}
40+
- {python-version: "pypy-3.9", testenvs: "pypy39", experimental: True}
3941

4042
steps:
4143
- name: Checkout 🛎️

pyproject.toml

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

repo_helper.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,12 @@ python_versions:
2626
- '3.8'
2727
- '3.9'
2828
- "3.10"
29-
- 3.11-dev
29+
- "3.11"
30+
- 3.12-dev
3031
- pypy36
3132
- pypy37
3233
- pypy38
34+
- pypy39
3335

3436
manifest_additional:
3537
- "include seed_intersphinx_mapping/fallback_mapping.json"

tox.ini

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,12 @@ envlist =
2525
py38
2626
py39
2727
py310
28-
py311-dev
28+
py311
29+
py312-dev
2930
pypy36
3031
pypy37
3132
pypy38
33+
pypy39
3234
mypy
3335
build
3436
skip_missing_interpreters = True
@@ -40,7 +42,18 @@ requires =
4042
virtualenv!=20.16.0
4143

4244
[envlists]
43-
test = py36, py37, py38, py39, py310, py311-dev, pypy36, pypy37, pypy38
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
4457
qa = mypy, lint
4558
cov = py38, coverage
4659

@@ -59,6 +72,11 @@ setenv =
5972
PYTHONDEVMODE=1
6073
PIP_DISABLE_PIP_VERSION_CHECK=1
6174

75+
[testenv:py312-dev]
76+
setenv =
77+
PYTHONDEVMODE=1
78+
PIP_DISABLE_PIP_VERSION_CHECK=1
79+
6280
[testenv:docs]
6381
setenv = SHOW_TODOS = 1
6482
passenv = SPHINX_BUILDER

0 commit comments

Comments
 (0)