Skip to content

Commit b595e42

Browse files
committed
Test with Python 3.11
1 parent 6e35f99 commit b595e42

File tree

5 files changed

+14
-9
lines changed

5 files changed

+14
-9
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'
24+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11.0-alpha.3'
2525

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

3637
steps:
3738
- name: Checkout 🛎️

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

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

3738
steps:
3839
- name: Checkout 🛎️

.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'
24+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11.0-alpha.3'
2525

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

3637
steps:
3738
- 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
"Intended Audience :: Developers",
3535
"Typing :: Typed",
3636
]
37-
python-versions = [ "3.6", "3.7", "3.8", "3.9",]
37+
python-versions = [ "3.6", "3.7", "3.8", "3.9", "3.10",]
3838
python-implementations = [ "CPython",]
3939
platforms = [ "Windows", "macOS", "Linux",]
4040
license-key = "MIT"

tox.ini

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ envlist =
2121
py37-click{7,8}
2222
py38-click{7,8}
2323
py39-click{7,8}
24-
py310-dev-click{7,8}
24+
py310-click{7,8}
25+
py311-dev-click{7,8}
2526
mypy
2627
build
2728
skip_missing_interpreters = True
@@ -37,7 +38,8 @@ test =
3738
py37-click{7,8}
3839
py38-click{7,8}
3940
py39-click{7,8}
40-
py310-dev-click{7,8}
41+
py310-click{7,8}
42+
py311-dev-click{7,8}
4143
qa = mypy, lint
4244
cov = py36-click7, coverage
4345

0 commit comments

Comments
 (0)