-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
49 lines (41 loc) · 1.35 KB
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[tox]
envlist =
py{ 38, 39}-pytest{36,39,40,44,45,46,50,51,52,53,54,60,61,62,70,71}
py{ 310,311}-pytest{ 62,70,71,72,73,74,80,81,82}
py{ 312}-pytest{ 73,74,80,81,82}
[testenv]
allowlist_externals =
poetry
*/_tox_install_command.sh
deps =
pytest36: pytest~=3.6.0
pytest39: pytest~=3.9.0
# NOTE: the attrs dep resolves an issue with this version of pytest and attrs>19.2.0
# see https://stackoverflow.com/a/58189684/148585
pytest40: attrs==19.1.0
pytest40: pytest~=4.0.0
pytest44: pytest~=4.4.0
pytest45: pytest~=4.5.0
pytest46: pytest~=4.6.0
pytest50: pytest~=5.0.0
pytest51: pytest~=5.1.0
pytest52: pytest~=5.2.0
pytest53: pytest~=5.3.0
pytest54: pytest~=5.4.0
pytest60: pytest~=6.0.0
pytest61: pytest~=6.1.0
pytest62: pytest~=6.2.0
pytest70: pytest~=7.0.0
pytest71: pytest~=7.1.0
pytest72: pytest~=7.2.0
pytest73: pytest~=7.3.0
pytest74: pytest~=7.4.0
pytest80: pytest~=8.0.0
pytest81: pytest~=8.1.0
pytest82: pytest~=8.2.0
# Python 3.12 virtualenvs appear to sometimes suffer from a missing setuptools,
# leading to errors like "ModuleNotFoundError: No module named 'pkg_resources'"
py312: setuptools
install_command =
{toxinidir}/_tox_install_command.sh {opts} {packages}
commands = poetry run pytest