Skip to content

Commit fb9d112

Browse files
committed
Test on Python 3.11
1 parent 2880ef9 commit fb9d112

File tree

6 files changed

+24
-10
lines changed

6 files changed

+24
-10
lines changed

.github/workflows/python_ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: "windows-2019"
2222
continue-on-error: ${{ matrix.config.experimental }}
2323
env:
24-
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,pypy-3.6,pypy-3.7'
24+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11.0-alpha.3,pypy-3.6,pypy-3.7'
2525

2626
strategy:
2727
fail-fast: False
@@ -31,7 +31,8 @@ jobs:
3131
- {python-version: "3.7", testenvs: "py37,build", experimental: False}
3232
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
3333
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
34-
- {python-version: "3.10", testenvs: "py310-dev,build", experimental: True}
34+
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
35+
- {python-version: "3.11.0-alpha.3", testenvs: "py311-dev,build", experimental: True}
3536
- {python-version: "pypy-3.6", testenvs: "pypy36,build", experimental: False}
3637
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
3738

.github/workflows/python_ci_linux.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: "ubuntu-20.04"
2323
continue-on-error: ${{ matrix.config.experimental }}
2424
env:
25-
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,pypy-3.6,pypy-3.7'
25+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11.0-alpha.3,pypy-3.6,pypy-3.7'
2626

2727
strategy:
2828
fail-fast: False
@@ -32,7 +32,8 @@ jobs:
3232
- {python-version: "3.7", testenvs: "py37,build", experimental: False}
3333
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
3434
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
35-
- {python-version: "3.10", testenvs: "py310-dev,build", experimental: True}
35+
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
36+
- {python-version: "3.11.0-alpha.3", testenvs: "py311-dev,build", experimental: True}
3637
- {python-version: "pypy-3.6", testenvs: "pypy36,build", experimental: False}
3738
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
3839

.github/workflows/python_ci_macos.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: "macos-latest"
2222
continue-on-error: ${{ matrix.config.experimental }}
2323
env:
24-
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,pypy-3.7'
24+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11.0-alpha.3,pypy-3.7'
2525

2626
strategy:
2727
fail-fast: False
@@ -31,7 +31,8 @@ jobs:
3131
- {python-version: "3.7", testenvs: "py37,build", experimental: False}
3232
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
3333
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
34-
- {python-version: "3.10", testenvs: "py310-dev,build", experimental: True}
34+
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
35+
- {python-version: "3.11.0-alpha.3", testenvs: "py311-dev,build", experimental: True}
3536
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
3637

3738
steps:

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",]
35+
python-versions = [ "3.6", "3.7", "3.8", "3.9", "3.10",]
3636
python-implementations = [ "CPython", "PyPy",]
3737
platforms = [ "Windows", "macOS", "Linux",]
3838
license-key = "MIT"

repo_helper.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ python_versions:
2727
- '3.7'
2828
- '3.8'
2929
- '3.9'
30-
- 3.10-dev
30+
- "3.10"
31+
- 3.11-dev
3132
- pypy36
3233
- pypy37
3334

tox.ini

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,17 @@
1616
# * pytest
1717

1818
[tox]
19-
envlist = py36, py37, py38, py39, py310-dev, pypy36, pypy37, mypy, build
19+
envlist =
20+
py36
21+
py37
22+
py38
23+
py39
24+
py310
25+
py311-dev
26+
pypy36
27+
pypy37
28+
mypy
29+
build
2030
skip_missing_interpreters = True
2131
isolated_build = True
2232
requires =
@@ -25,7 +35,7 @@ requires =
2535
tox-pip-version>=0.0.7
2636

2737
[envlists]
28-
test = py36, py37, py38, py39, py310-dev, pypy36, pypy37
38+
test = py36, py37, py38, py39, py310, py311-dev, pypy36, pypy37
2939
qa = mypy, lint
3040
cov = py36, coverage
3141

0 commit comments

Comments
 (0)