Skip to content

Commit 609f57d

Browse files
committed
Test on newer Python versions
1 parent d7a0e43 commit 609f57d

File tree

6 files changed

+33
-10
lines changed

6 files changed

+33
-10
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.7,3.8,3.9,3.10,3.11,pypy-3.7,pypy-3.8,pypy-3.9'
25+
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11,3.12,3.13,pypy-3.7,pypy-3.8,pypy-3.9'
2626

2727
strategy:
2828
fail-fast: False
@@ -32,7 +32,9 @@ jobs:
3232
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
3333
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
3434
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
35-
- {python-version: "3.11", testenvs: "py311-dev,build", experimental: True}
35+
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
36+
- {python-version: "3.12", testenvs: "py312,build", experimental: False}
37+
- {python-version: "3.13", testenvs: "py313,build", experimental: False}
3638
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: False}
3739
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: False}
3840
- {python-version: "pypy-3.9-v7.3.15", testenvs: "pypy39,build", experimental: True}

.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-22.04"
2424
continue-on-error: ${{ matrix.config.experimental }}
2525
env:
26-
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11,pypy-3.7,pypy-3.8,pypy-3.9'
26+
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11,3.12,3.13,pypy-3.7,pypy-3.8,pypy-3.9'
2727

2828
strategy:
2929
fail-fast: False
@@ -33,7 +33,9 @@ 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", testenvs: "py312,build", experimental: False}
38+
- {python-version: "3.13", testenvs: "py313,build", experimental: False}
3739
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: False}
3840
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: False}
3941
- {python-version: "pypy-3.9", testenvs: "pypy39,build", experimental: True}

.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-${{ matrix.config.os-ver }}"
2323
continue-on-error: ${{ matrix.config.experimental }}
2424
env:
25-
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11,pypy-3.7,pypy-3.8,pypy-3.9'
25+
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11,3.12,3.13,pypy-3.7,pypy-3.8,pypy-3.9'
2626

2727
strategy:
2828
fail-fast: False
@@ -32,7 +32,9 @@ jobs:
3232
- {python-version: "3.8", os-ver: "14", testenvs: "py38,build", experimental: False}
3333
- {python-version: "3.9", os-ver: "14", testenvs: "py39,build", experimental: False}
3434
- {python-version: "3.10", os-ver: "14", testenvs: "py310,build", experimental: False}
35-
- {python-version: "3.11", os-ver: "14", testenvs: "py311-dev,build", experimental: True}
35+
- {python-version: "3.11", os-ver: "14", testenvs: "py311,build", experimental: False}
36+
- {python-version: "3.12", os-ver: "14", testenvs: "py312,build", experimental: False}
37+
- {python-version: "3.13", os-ver: "14", testenvs: "py313,build", experimental: False}
3638
- {python-version: "pypy-3.7", os-ver: "13", testenvs: "pypy37,build", experimental: False}
3739
- {python-version: "pypy-3.8", os-ver: "14", testenvs: "pypy38,build", experimental: False}
3840
- {python-version: "pypy-3.9", os-ver: "14", testenvs: "pypy39,build", experimental: True}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ base-classifiers = [
3737
"Topic :: Software Development :: Libraries :: Python Modules",
3838
"Typing :: Typed",
3939
]
40-
python-versions = [ "3.7", "3.8", "3.9", "3.10",]
40+
python-versions = [ "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13",]
4141
python-implementations = [ "CPython", "PyPy",]
4242
platforms = [ "Windows", "macOS", "Linux",]
4343
license-key = "LGPL-3.0-or-later"

repo_helper.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ python_versions:
2222
- "3.8"
2323
- "3.9"
2424
- "3.10"
25-
- "3.11-dev"
25+
- "3.11"
26+
- "3.12"
27+
- "3.13"
2628
- "pypy37"
2729
- "pypy38"
2830
- "pypy39"

tox.ini

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ envlist =
2424
py38
2525
py39
2626
py310
27-
py311-dev
27+
py311
28+
py312
29+
py313
2830
pypy37
2931
pypy38
3032
pypy39
@@ -39,7 +41,7 @@ requires =
3941
virtualenv!=20.16.0
4042

4143
[envlists]
42-
test = py37, py38, py39, py310, py311-dev, pypy37, pypy38, pypy39
44+
test = py37, py38, py39, py310, py311, py312, py313, pypy37, pypy38, pypy39
4345
qa = mypy, lint
4446

4547
[testenv]
@@ -57,6 +59,19 @@ setenv =
5759
PYTHONDEVMODE=1
5860
PIP_DISABLE_PIP_VERSION_CHECK=1
5961

62+
[testenv:py313]
63+
download = True
64+
setenv =
65+
PYTHONDEVMODE=1
66+
PIP_DISABLE_PIP_VERSION_CHECK=1
67+
UNSAFE_PYO3_SKIP_VERSION_CHECK=1
68+
69+
[testenv:py312]
70+
download = True
71+
setenv =
72+
PYTHONDEVMODE=1
73+
PIP_DISABLE_PIP_VERSION_CHECK=1
74+
6075
[testenv:docs]
6176
setenv = SHOW_TODOS = 1
6277
passenv = SPHINX_BUILDER

0 commit comments

Comments
 (0)