Skip to content

Commit

Permalink
Update list of Python versions to test against
Browse files Browse the repository at this point in the history
  • Loading branch information
brechtm committed Jul 12, 2024
1 parent 8c0739d commit 10de085
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 13 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/noxpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
'3.9': '3.9',
'3.10': '3.10',
'3.11': '3.11',
'3.12.0-alpha - 3.12': '3.12',
'3.12': '3.12',
'3.13.0-alpha - 3.13': '3.12',
'pypy-3.8': 'pypy3',
'pypy-3.9': 'pypy3',
'pypy-3.10': 'pypy3',
Expand Down
15 changes: 8 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
default: false

env:
current_python: '3.11'
current_python: '3.12'
poetry_version: '1.3.2'
nox_cmd: 'nox --verbose --error-on-missing-interpreters --session'
jobs:
Expand Down Expand Up @@ -131,12 +131,12 @@ jobs:
fail-fast: false
matrix:
os: [Ubuntu, MacOS, Windows]
python-version: [3.8, 3.9, '3.10', 3.11, 3.12.0-alpha - 3.12, pypy-3.9]
python-version: [3.8, 3.9, '3.10', 3.11, 3.12, 3.13.0-alpha - 3.13, pypy-3.9]
noxenv: [unit]
cov: [1]
name: [""]
include:
- { os: Ubuntu, python-version: 3.11, noxenv: unit_sphinx, cov: 0, name: " (Sphinx)" }
- { os: Ubuntu, python-version: 3.12, noxenv: unit_sphinx, cov: 0, name: " (Sphinx)" }
- { os: Ubuntu, python-version: 3.9, noxenv: unit_sphinx_py39, cov: 0, name: " (Sphinx)" }
runs-on: ${{ matrix.os }}-latest
env:
Expand Down Expand Up @@ -176,18 +176,19 @@ jobs:
fail-fast: false
matrix:
os: [Ubuntu, MacOS, Windows]
python-version: ['3.11']
python-version: ['3.12']
noxenv: [regression]
cov: [1]
name: [""]
include:
- { os: Ubuntu, python-version: 3.8, noxenv: regression, cov: 1 }
- { os: Ubuntu, python-version: '3.10', noxenv: regression, cov: 1 }
- { os: Ubuntu, python-version: 3.11, noxenv: regression, cov: 1 }
- { os: Ubuntu, python-version: 3.12.0-alpha - 3.12, noxenv: regression, cov: 1 }
- { os: Ubuntu, python-version: 3.12, noxenv: regression, cov: 1 }
- { os: Ubuntu, python-version: 3.13.0-alpha - 3.13, noxenv: regression, cov: 1 }
- { os: Ubuntu, python-version: pypy-3.9, noxenv: regression, cov: 1 }
- { os: Ubuntu, python-version: 3.11, noxenv: regression_docutils, cov: 0, name: " (docutils)" }
- { os: Ubuntu, python-version: 3.11, noxenv: regression_sphinx, cov: 0, name: " (Sphinx)" }
- { os: Ubuntu, python-version: 3.12, noxenv: regression_docutils, cov: 0, name: " (docutils)" }
- { os: Ubuntu, python-version: 3.12, noxenv: regression_sphinx, cov: 0, name: " (Sphinx)" }
- { os: Ubuntu, python-version: 3.9, noxenv: regression_sphinx_py39, cov: 0, name: " (Sphinx)" }
runs-on: ${{ matrix.os }}-latest
env:
Expand Down
7 changes: 4 additions & 3 deletions .python-version
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
3.11
3.12
3.8
3.9
3.10
3.12-dev
pypy3.9
3.11
3.13-dev
pypy3.10
4 changes: 2 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
f'regression-{CURRENT_PYTHON}(wheel)']


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

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

0 comments on commit 10de085

Please sign in to comment.