Skip to content

Commit c6e817c

Browse files
committed
Test on Python 3.11 and 3.12
1 parent f6d7100 commit c6e817c

File tree

6 files changed

+19
-10
lines changed

6 files changed

+19
-10
lines changed

.github/workflows/python_ci.yml

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

2727
strategy:
2828
fail-fast: False
@@ -33,7 +33,8 @@ 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-alpha.7", testenvs: "py312-dev,build", experimental: True}
3738

3839
steps:
3940
- name: Checkout 🛎️

.github/workflows/python_ci_linux.yml

Lines changed: 3 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'
26+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12.0-alpha.7'
2727

2828
strategy:
2929
fail-fast: False
@@ -34,7 +34,8 @@ 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-alpha.7", testenvs: "py312-dev,build", experimental: True}
3839

3940
steps:
4041
- name: Checkout 🛎️

.github/workflows/python_ci_macos.yml

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

2727
strategy:
2828
fail-fast: False
@@ -33,7 +33,8 @@ 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-alpha.7", testenvs: "py312-dev,build", experimental: True}
3738

3839
steps:
3940
- name: Checkout 🛎️

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ base-classifiers = [
3535
"Topic :: Software Development :: Version Control :: Git",
3636
"Typing :: Typed",
3737
]
38-
python-versions = [ "3.6", "3.7", "3.8", "3.9", "3.10",]
38+
python-versions = [ "3.6", "3.7", "3.8", "3.9", "3.10", "3.11",]
3939
python-implementations = [ "CPython",]
4040
platforms = [ "Windows", "macOS", "Linux",]
4141
license-key = "MIT"

repo_helper.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ python_versions:
2525
- 3.8
2626
- 3.9
2727
- "3.10"
28-
- 3.11-dev
28+
- "3.11"
29+
- 3.12-dev
2930

3031
keywords:
3132
- github

tox.ini

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
# * pytest
2020

2121
[tox]
22-
envlist = py36, py37, py38, py39, py310, py311-dev, mypy, build
22+
envlist = py36, py37, py38, py39, py310, py311, py312-dev, mypy, build
2323
skip_missing_interpreters = True
2424
isolated_build = True
2525
requires =
@@ -29,7 +29,7 @@ requires =
2929
virtualenv!=20.16.0
3030

3131
[envlists]
32-
test = py36, py37, py38, py39, py310, py311-dev
32+
test = py36, py37, py38, py39, py310, py311, py312-dev
3333
qa = mypy, lint
3434
cov = py38, coverage
3535

@@ -48,6 +48,11 @@ setenv =
4848
PYTHONDEVMODE=1
4949
PIP_DISABLE_PIP_VERSION_CHECK=1
5050

51+
[testenv:py312-dev]
52+
setenv =
53+
PYTHONDEVMODE=1
54+
PIP_DISABLE_PIP_VERSION_CHECK=1
55+
5156
[testenv:docs]
5257
setenv = SHOW_TODOS = 1
5358
passenv = SPHINX_BUILDER

0 commit comments

Comments
 (0)