Skip to content

Commit 3f3eb78

Browse files
committed
build: test light-threads on all versions of Python
And also use more compact tox environment syntax throughout tox.init
1 parent f2e4048 commit 3f3eb78

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tox.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ extras =
2020
deps =
2121
-r requirements/pip.pip
2222
-r requirements/pytest.pip
23-
py3{10,11}: -r requirements/light-threads.pip
23+
py3{10-14}: -r requirements/light-threads.pip
2424

2525
# Windows can't update the pip version with pip running, so use Python
2626
# to install things.
@@ -37,8 +37,8 @@ setenv =
3737
# environments and not others. So by default, don't warn, and we'll enable
3838
# the warning in a handful of environments to catch the problems.
3939
PYTHONWARNDEFAULTENCODING=
40-
py3{10,11,12,13,14}: PYTHONWARNDEFAULTENCODING=1
41-
py3{10,11,12,13,14}: PYTHONWARNINGS=ignore::EncodingWarning:pip._internal.utils.subprocess
40+
py3{10-14}: PYTHONWARNDEFAULTENCODING=1
41+
py3{10-14}: PYTHONWARNINGS=ignore::EncodingWarning:pip._internal.utils.subprocess
4242
# Disable CPython's color output
4343
PYTHON_COLORS=0
4444

@@ -59,7 +59,7 @@ commands =
5959
python -m pip install {env:COVERAGE_PIP_ARGS} -q -e .
6060
python igor.py test_with_core ctrace {posargs}
6161

62-
py3{12,13,14}{,t},anypy: python igor.py test_with_core sysmon {posargs}
62+
py3{12-14}{,t},anypy: python igor.py test_with_core sysmon {posargs}
6363

6464
[testenv:anypy]
6565
# $set_env.py: COVERAGE_ANYPY - The custom Python for "tox -e anypy"

0 commit comments

Comments
 (0)