@@ -23,11 +23,11 @@ filename = *.py
2323
2424[gh]
2525python =
26- 3.9: 3.9
27- 3.10: 3.10
28- 3.11: 3.11
29- 3.12: 3.12
30- 3.13: 3.13 , covclean, lint, coverage, readme
26+ 3.9: py39
27+ 3.10: py310
28+ 3.11: py311
29+ 3.12: py312
30+ 3.13: py313 , covclean, lint, coverage, readme
3131
3232[pytest]
3333python_files = test_*.py
@@ -42,7 +42,7 @@ skip_missing_interpreters = true
4242envlist =
4343 covclean
4444 lint
45- {3.9,3.10,3.11,3.12,3.13}-{linux,macos }
45+ py{39,310,311,311,313 }
4646 coverage
4747 readme
4848 docs
@@ -51,6 +51,12 @@ envlist =
5151platform =
5252 linux: linux
5353 macos: (macos|osx|darwin)
54+ base_python =
55+ py39: python3.9
56+ py310: python3.10
57+ py311: python3.11
58+ py312: python3.12
59+ py313: python3.13
5460deps =
5561 pytest
5662 pytest-mock
@@ -63,12 +69,16 @@ deps =
6369# log level ERROR because we print out info from fixture and -s also prints useless stuff from R
6470setenv =
6571 OMNIPATH_AUTOLOAD = false
66- {3.9-linux}: _PYTEST_TOX_POSARGS =--test-server --log-cli-level =ERROR
6772passenv = TOXENV,CI,CODECOV_*,GITHUB_ACTIONS
6873usedevelop = true
6974commands =
7075 pytest --cov --cov-append --cov-config ={toxinidir}/.coveragerc --ignore docs/ {posargs:-vv {env:_PYTEST_TOX_POSARGS:}}
7176
77+ [testenv:py313]
78+ setenv =
79+ _PYTEST_TOX_POSARGS =--test-server --log-cli-level =ERROR
80+
81+
7282[testenv:covclean]
7383description = Clean coverage files.
7484deps = coverage
8898 coverage
8999 diff_cover
90100skip_install = true
91- depends = {3.9,3.10,3.11,3.12,3.13}-{linux,macos }
101+ depends = py{39,310,311,312,313 }
92102parallel_show_output = True
93103commands =
94104 coverage report --omit =" tox/*"
0 commit comments