Skip to content

Commit f5abb28

Browse files
committed
Test on Python 3.11
1 parent 0a9ad2e commit f5abb28

File tree

6 files changed

+34
-10
lines changed

6 files changed

+34
-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: 13 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

@@ -85,6 +86,16 @@ jobs:
8586
- name: Checkout 🛎️
8687
uses: "actions/checkout@v2"
8788

89+
- name: Check for changed files
90+
if: startsWith(github.ref, 'refs/tags/') != true
91+
uses: dorny/paths-filter@v2
92+
id: changes
93+
with:
94+
list-files: "json"
95+
filters: |
96+
code:
97+
- '!(doc-source/**|CONTRIBUTING.rst|.imgbotconfig|.pre-commit-config.yaml|.pylintrc|.readthedocs.yml)'
98+
8899
- name: Setup Python 🐍
89100
uses: "actions/setup-python@v2"
90101
with:

.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
@@ -28,7 +28,8 @@ python_versions:
2828
- '3.7'
2929
- '3.8'
3030
- '3.9'
31-
- 3.10-dev
31+
- "3.10"
32+
- 3.11-dev
3233
- pypy36
3334
- pypy37
3435

tox.ini

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

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

2636
[envlists]
27-
test = py36, py37, py38, py39, py310-dev, pypy36, pypy37
37+
test = py36, py37, py38, py39, py310, py311-dev, pypy36, pypy37
2838
qa = mypy, lint
2939
cov = py36, coverage
3040

0 commit comments

Comments
 (0)