Skip to content

Commit 0940221

Browse files
committed
Test on newer Python versions
1 parent 517c83e commit 0940221

File tree

6 files changed

+35
-11
lines changed

6 files changed

+35
-11
lines changed

.github/workflows/python_ci.yml

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

2727
strategy:
2828
fail-fast: False
@@ -33,10 +33,12 @@ 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.1", testenvs: "py312-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}
3940
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: True}
41+
- {python-version: "pypy-3.9", testenvs: "pypy39", experimental: True}
4042

4143
steps:
4244
- name: Checkout 🛎️

.github/workflows/python_ci_linux.yml

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

2828
strategy:
2929
fail-fast: False
@@ -34,10 +34,12 @@ 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.1", testenvs: "py312-dev,build", experimental: True}
3839
- {python-version: "pypy-3.6", testenvs: "pypy36,build", experimental: False}
3940
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
4041
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: True}
42+
- {python-version: "pypy-3.9", testenvs: "pypy39", experimental: True}
4143

4244
steps:
4345
- name: Checkout 🛎️

.github/workflows/python_ci_macos.yml

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

2727
strategy:
2828
fail-fast: False
@@ -33,9 +33,11 @@ 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.1", testenvs: "py312-dev,build", experimental: True}
3738
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}
3839
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: True}
40+
- {python-version: "pypy-3.9", testenvs: "pypy39", experimental: True}
3941

4042
steps:
4143
- name: Checkout 🛎️

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ base-classifiers = [
3636
"Topic :: Utilities",
3737
"Typing :: Typed",
3838
]
39-
python-versions = [ "3.6", "3.7", "3.8", "3.9", "3.10",]
39+
python-versions = [ "3.6", "3.7", "3.8", "3.9", "3.10", "3.11",]
4040
python-implementations = [ "CPython", "PyPy",]
4141
platforms = [ "Windows", "macOS", "Linux",]
4242
license-key = "MIT"

repo_helper.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,12 @@ python_versions:
2828
- '3.8'
2929
- '3.9'
3030
- "3.10"
31-
- 3.11-dev
31+
- "3.11"
32+
- 3.12-dev
3233
- pypy36
3334
- pypy37
3435
- pypy38
36+
- pypy39
3537

3638
classifiers:
3739
- 'Development Status :: 4 - Beta'

tox.ini

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@ envlist =
2222
py38
2323
py39
2424
py310
25-
py311-dev
25+
py311
26+
py312-dev
2627
pypy36
2728
pypy37
2829
pypy38
30+
pypy39
2931
mypy
3032
build
3133
skip_missing_interpreters = True
@@ -36,7 +38,18 @@ requires =
3638
virtualenv!=20.16.0
3739

3840
[envlists]
39-
test = py36, py37, py38, py39, py310, py311-dev, pypy36, pypy37, pypy38
41+
test =
42+
py36
43+
py37
44+
py38
45+
py39
46+
py310
47+
py311
48+
py312-dev
49+
pypy36
50+
pypy37
51+
pypy38
52+
pypy39
4053
qa = mypy, lint
4154
cov = py36, coverage
4255

@@ -190,7 +203,10 @@ filterwarnings =
190203
ignore:can't resolve package from __spec__ or __package__, falling back on __name__ and __path__:ImportWarning
191204
192205
[testenv]
193-
setenv = PYTHONDEVMODE = 1
206+
setenv =
207+
PYTHONDEVMODE=1
208+
PIP_DISABLE_PIP_VERSION_CHECK=1
209+
SETUPTOOLS_USE_DISTUTILS=stdlib
194210
deps = -r{toxinidir}/tests/requirements.txt
195211
ignore_errors = True
196212
commands =

0 commit comments

Comments
 (0)