Skip to content

Commit 3900425

Browse files
SyntaxColoringseifertm
authored andcommitted
Add Python 3.10.8 to tox and GitHub Actions.
1 parent 3fc9c4f commit 3900425

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
strategy:
6363
matrix:
6464
os: [ubuntu, windows]
65-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
65+
python-version: ['3.8', '3.9', '3.10.8', '3.10', '3.11', '3.12']
6666

6767
steps:
6868
- uses: actions/checkout@v4

tox.ini

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
minversion = 3.14.0
3-
envlist = py38, py39, py310, py311, py312, pytest-min, docs
3+
envlist = py38, py39, py3108, py310, py311, py312, pytest-min, docs
44
isolated_build = true
55
passenv =
66
CI
@@ -25,6 +25,14 @@ commands = make test
2525
allowlist_externals =
2626
make
2727

28+
[testenv: py3108]
29+
# Python 3.10.8 is the most recent version that triggers
30+
# https://github.com/pytest-dev/pytest-asyncio/issues/757.
31+
#
32+
# We need to set basepython explicitly here because if we just added "py3109" to
33+
# envlist, tox would interpret that as "any py310".
34+
basepython = python3.10.8
35+
2836
[testenv:docs]
2937
extras = docs
3038
deps =
@@ -39,6 +47,7 @@ allowlist_externals =
3947
python =
4048
3.8: py38, pytest-min
4149
3.9: py39
50+
3.10.9: py3109
4251
3.10: py310
4352
3.11: py311
4453
3.12: py312

0 commit comments

Comments
 (0)