Skip to content

Commit 4151a55

Browse files
committed
Run tests with Python 3.9 and 3.13 instead of 3.8 and 3.12.
Python 3.8 reached end-of-life and Python 3.13 became available on 2024-10-07.
1 parent 27471c2 commit 4151a55

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.github/workflows/python-test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ jobs:
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
python-version: [3.8, 3.12]
12+
# When changing the following line, be sure to update `envlist` in
13+
# tox.ini
14+
python-version: [3.9, 3.13]
1315

1416
steps:
1517
- uses: actions/checkout@v4

tox.ini

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
[tox]
22
# When changing the following line, be sure to update 'python-version' in
33
# .github/workflows/python-test.yml
4-
envlist = py{3.8,3.12}-{test}, pycodestyle
4+
envlist = py{3.9,3.13}-{test}, pycodestyle
55

66
[gh-actions]
77
python =
8-
3.8: py3.8
9-
3.12: py3.12, pycodestyle
8+
3.9: py3.9
9+
3.13: py3.13, pycodestyle
1010

1111
[testenv]
1212
deps = test: -rrequirements.txt
1313
pycodestyle: pycodestyle
1414

1515
envdir =
16-
py3.8: {toxworkdir}/3.8
17-
py3.12: {toxworkdir}/3.12
16+
py3.9: {toxworkdir}/3.9
17+
py3.13: {toxworkdir}/3.13
1818
pycodestyle: {toxworkdir}/pycodestyle
1919

2020
setenv =

0 commit comments

Comments
 (0)