Skip to content

Commit f7924eb

Browse files
committed
Test on Python 3.11 and PyPy 3.8
1 parent 71fe28e commit f7924eb

7 files changed

+30
-11
lines changed

.github/workflows/python_ci.yml

+4-2
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,pypy-3.6,pypy-3.7'
25+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11.0-alpha.5,pypy-3.6,pypy-3.7,pypy-3.8'
2626

2727
strategy:
2828
fail-fast: False
@@ -32,9 +32,11 @@ 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.5", 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}
39+
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: True}
3840

3941
steps:
4042
- name: Checkout 🛎️

.github/workflows/python_ci_linux.yml

+4-2
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,pypy-3.6,pypy-3.7'
26+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11.0-alpha.5,pypy-3.6,pypy-3.7,pypy-3.8'
2727

2828
strategy:
2929
fail-fast: False
@@ -33,9 +33,11 @@ jobs:
3333
- {python-version: "3.7", testenvs: "py37,build", experimental: False}
3434
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
3535
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
36-
- {python-version: "3.10", testenvs: "py310-dev,build", experimental: True}
36+
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
37+
- {python-version: "3.11.0-alpha.5", testenvs: "py311-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}
40+
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: True}
3941

4042
steps:
4143
- name: Checkout 🛎️

.github/workflows/python_ci_macos.yml

+4-2
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,pypy-3.7'
25+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11.0-alpha.5,pypy-3.7,pypy-3.8'
2626

2727
strategy:
2828
fail-fast: False
@@ -32,8 +32,10 @@ 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.5", testenvs: "py311-dev,build", experimental: True}
3637
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
38+
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: True}
3739

3840
steps:
3941
- name: Checkout 🛎️

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ base-classifiers = [
3131
"Topic :: Utilities",
3232
"Typing :: Typed",
3333
]
34-
python-versions = [ "3.6", "3.7", "3.8", "3.9",]
34+
python-versions = [ "3.6", "3.7", "3.8", "3.9", "3.10",]
3535
python-implementations = [ "CPython", "PyPy",]
3636
platforms = [ "Windows", "macOS", "Linux",]
3737
license-key = "MIT"

repo_helper.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,11 @@ python_versions:
2626
- '3.7'
2727
- "3.8"
2828
- "3.9"
29-
- "3.10-dev"
29+
- "3.10"
30+
- "3.11-dev"
3031
- pypy36
3132
- pypy37
33+
- pypy38
3234

3335
classifiers:
3436
- 'Development Status :: 4 - Beta'

tests/test_grammar.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
platforms = {*platforms, *(p.lower() for p in platforms)}
1616

1717
versions = [(2, 7)]
18-
versions.extend((3, v) for v in range(11))
18+
versions.extend((3, v) for v in range(12))
1919
versions.append((4, 0))
2020

2121
versions_before = versions[:versions.index(sys.version_info[:2])]

tox.ini

+13-2
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,26 @@
1414
# * pytest
1515

1616
[tox]
17-
envlist = py36, py37, py38, py39, py310-dev, pypy36, pypy37, mypy, build
17+
envlist =
18+
py36
19+
py37
20+
py38
21+
py39
22+
py310
23+
py311-dev
24+
pypy36
25+
pypy37
26+
pypy38
27+
mypy
28+
build
1829
skip_missing_interpreters = True
1930
isolated_build = True
2031
requires =
2132
pip>=21
2233
tox-envlist>=0.2.1
2334

2435
[envlists]
25-
test = py36, py37, py38, py39, py310-dev, pypy36, pypy37
36+
test = py36, py37, py38, py39, py310, py311-dev, pypy36, pypy37, pypy38
2637
qa = mypy, lint
2738
cov = py36, coverage
2839

0 commit comments

Comments
 (0)