Skip to content

Commit 10de085

Browse files
committed
Update list of Python versions to test against
1 parent 8c0739d commit 10de085

File tree

4 files changed

+16
-13
lines changed

4 files changed

+16
-13
lines changed

.github/workflows/noxpy.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
'3.9': '3.9',
1111
'3.10': '3.10',
1212
'3.11': '3.11',
13-
'3.12.0-alpha - 3.12': '3.12',
13+
'3.12': '3.12',
14+
'3.13.0-alpha - 3.13': '3.12',
1415
'pypy-3.8': 'pypy3',
1516
'pypy-3.9': 'pypy3',
1617
'pypy-3.10': 'pypy3',

.github/workflows/tests.yml

+8-7
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
default: false
1616

1717
env:
18-
current_python: '3.11'
18+
current_python: '3.12'
1919
poetry_version: '1.3.2'
2020
nox_cmd: 'nox --verbose --error-on-missing-interpreters --session'
2121
jobs:
@@ -131,12 +131,12 @@ jobs:
131131
fail-fast: false
132132
matrix:
133133
os: [Ubuntu, MacOS, Windows]
134-
python-version: [3.8, 3.9, '3.10', 3.11, 3.12.0-alpha - 3.12, pypy-3.9]
134+
python-version: [3.8, 3.9, '3.10', 3.11, 3.12, 3.13.0-alpha - 3.13, pypy-3.9]
135135
noxenv: [unit]
136136
cov: [1]
137137
name: [""]
138138
include:
139-
- { os: Ubuntu, python-version: 3.11, noxenv: unit_sphinx, cov: 0, name: " (Sphinx)" }
139+
- { os: Ubuntu, python-version: 3.12, noxenv: unit_sphinx, cov: 0, name: " (Sphinx)" }
140140
- { os: Ubuntu, python-version: 3.9, noxenv: unit_sphinx_py39, cov: 0, name: " (Sphinx)" }
141141
runs-on: ${{ matrix.os }}-latest
142142
env:
@@ -176,18 +176,19 @@ jobs:
176176
fail-fast: false
177177
matrix:
178178
os: [Ubuntu, MacOS, Windows]
179-
python-version: ['3.11']
179+
python-version: ['3.12']
180180
noxenv: [regression]
181181
cov: [1]
182182
name: [""]
183183
include:
184184
- { os: Ubuntu, python-version: 3.8, noxenv: regression, cov: 1 }
185185
- { os: Ubuntu, python-version: '3.10', noxenv: regression, cov: 1 }
186186
- { os: Ubuntu, python-version: 3.11, noxenv: regression, cov: 1 }
187-
- { os: Ubuntu, python-version: 3.12.0-alpha - 3.12, noxenv: regression, cov: 1 }
187+
- { os: Ubuntu, python-version: 3.12, noxenv: regression, cov: 1 }
188+
- { os: Ubuntu, python-version: 3.13.0-alpha - 3.13, noxenv: regression, cov: 1 }
188189
- { os: Ubuntu, python-version: pypy-3.9, noxenv: regression, cov: 1 }
189-
- { os: Ubuntu, python-version: 3.11, noxenv: regression_docutils, cov: 0, name: " (docutils)" }
190-
- { os: Ubuntu, python-version: 3.11, noxenv: regression_sphinx, cov: 0, name: " (Sphinx)" }
190+
- { os: Ubuntu, python-version: 3.12, noxenv: regression_docutils, cov: 0, name: " (docutils)" }
191+
- { os: Ubuntu, python-version: 3.12, noxenv: regression_sphinx, cov: 0, name: " (Sphinx)" }
191192
- { os: Ubuntu, python-version: 3.9, noxenv: regression_sphinx_py39, cov: 0, name: " (Sphinx)" }
192193
runs-on: ${{ matrix.os }}-latest
193194
env:

.python-version

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
3.11
1+
3.12
22
3.8
33
3.9
44
3.10
5-
3.12-dev
6-
pypy3.9
5+
3.11
6+
3.13-dev
7+
pypy3.10

noxfile.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
f'regression-{CURRENT_PYTHON}(wheel)']
1919

2020

21-
PYTHONS = ['3.8', '3.9', '3.10', '3.11', '3.12']
22-
PYTHONS += ['pypy3'] if os.getenv('CI') else ['pypy3.9']
21+
PYTHONS = ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
22+
PYTHONS += ['pypy3'] if os.getenv('CI') else ['pypy3.10']
2323

2424
DEPENDENCIES = ['pytest', 'pytest-xdist', 'pytest-cov', 'coverage', 'Sphinx']
2525
if os.getenv('GITHUB_SHA'):

0 commit comments

Comments
 (0)