Skip to content

Commit 68c1372

Browse files
committed
Test on Python 3.12
1 parent 1490d8e commit 68c1372

File tree

6 files changed

+20
-10
lines changed

6 files changed

+20
-10
lines changed

.github/workflows/python_ci.yml

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

2727
strategy:
2828
fail-fast: False
2929
matrix:
3030
config:
3131
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
32-
- {python-version: "3.11", testenvs: "py311-dev,build", experimental: True}
32+
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
33+
- {python-version: "3.12.0-alpha.3", testenvs: "py312-dev,build", experimental: True}
3334
- {python-version: "pypy-3.6", testenvs: "pypy36,build", experimental: False}
3435
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
3536
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: True}

.github/workflows/python_ci_linux.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,15 @@ jobs:
2323
runs-on: "ubuntu-20.04"
2424
continue-on-error: ${{ matrix.config.experimental }}
2525
env:
26-
USING_COVERAGE: '3.10,3.11,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9'
26+
USING_COVERAGE: '3.10,3.11,3.12.0-alpha.3,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9'
2727

2828
strategy:
2929
fail-fast: False
3030
matrix:
3131
config:
3232
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
33-
- {python-version: "3.11", testenvs: "py311-dev,build", experimental: True}
33+
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
34+
- {python-version: "3.12.0-alpha.3", testenvs: "py312-dev,build", experimental: True}
3435
- {python-version: "pypy-3.6", testenvs: "pypy36,build", experimental: False}
3536
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
3637
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: True}

.github/workflows/python_ci_macos.yml

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

2727
strategy:
2828
fail-fast: False
2929
matrix:
3030
config:
3131
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
32-
- {python-version: "3.11", testenvs: "py311-dev,build", experimental: True}
32+
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
33+
- {python-version: "3.12.0-alpha.3", testenvs: "py312-dev,build", experimental: True}
3334
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
3435
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: True}
3536
- {python-version: "pypy-3.9", testenvs: "pypy39", experimental: True}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ always = [ "pytest_mypy_plugins_shim",]
2828

2929
[tool.whey]
3030
base-classifiers = []
31-
python-versions = [ "3.6", "3.7", "3.8", "3.9", "3.10",]
31+
python-versions = [ "3.6", "3.7", "3.8", "3.9", "3.10", "3.11",]
3232
python-implementations = [ "CPython", "PyPy",]
3333
platforms = [ "Windows", "macOS", "Linux",]
3434
license-key = "MIT"

repo_helper.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,5 @@ python_versions:
2626
- pypy38
2727
- pypy39
2828
- "3.10"
29-
- "3.11-dev"
29+
- "3.11"
30+
- "3.12-dev"

tox.ini

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# * tox
44
# * envlists
55
# * testenv
6+
# * testenv:py312-dev
67
# * testenv:docs
78
# * testenv:build
89
# * testenv:lint
@@ -14,7 +15,7 @@
1415
# * pytest
1516

1617
[tox]
17-
envlist = py310, py311-dev, pypy36, pypy37, pypy38, pypy39, mypy, build
18+
envlist = py310, py311, py312-dev, pypy36, pypy37, pypy38, pypy39, mypy, build
1819
skip_missing_interpreters = True
1920
isolated_build = True
2021
requires =
@@ -24,7 +25,7 @@ requires =
2425
virtualenv!=20.16.0
2526

2627
[envlists]
27-
test = py310, py311-dev, pypy36, pypy37, pypy38, pypy39
28+
test = py310, py311, py312-dev, pypy36, pypy37, pypy38, pypy39
2829
qa = mypy, lint
2930

3031
[testenv]
@@ -37,6 +38,11 @@ commands =
3738
python --version
3839
python -m importcheck {posargs:--show}
3940

41+
[testenv:py312-dev]
42+
setenv =
43+
PYTHONDEVMODE=1
44+
PIP_DISABLE_PIP_VERSION_CHECK=1
45+
4046
[testenv:build]
4147
skip_install = True
4248
changedir = {toxinidir}

0 commit comments

Comments
 (0)