generated from thoth-station/template-project
-
Notifications
You must be signed in to change notification settings - Fork 25
/
tox.ini
53 lines (51 loc) · 1.78 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
50
51
52
53
[tox]
# Don't forget to adjust CI when changing this
envlist =
# Python 3.6 has its own part because pip >= 22
# does not support it anymore.
py36-pip{90,192,193,203,213}-toml
py36-pip{90}-pytoml
py37-pip{90,192,193,203,213}-toml
py{38,39}-pip{90,192,193,203,213,latest,git}-toml
py{38,39}-pip{90,latest,git}-pytoml
py310-pip{192,193,203,213,latest,git}-toml
py310-pip{latest,git}-pytoml
py310-pip{latest,git}-tomli
py311-pip{192,193,203,213,latest,git}
py312-pip{latest,git}
py313-pip{latest,git}
mypy
[testenv]
commands = pytest --timeout=300 micropipenv.py --capture=no --verbose -l -s -vv {posargs} tests/
extras =
tests
deps =
toml: toml
pytoml: pytoml
tomli: tomli
setenv =
# platform-python-pip and python27-pip in RHEL8
# pip 9 seems not to be compatible with the latest setuptools
# so we are using the same version we have in RHEL 8
pip90: MICROPIPENV_TEST_PIP_VERSION = >=9.0,<10.0
pip90: MICROPIPENV_TEST_SETUPTOOLS_VERSION = <60
# older version in Python 3.8 module
pip192: MICROPIPENV_TEST_PIP_VERSION = >=19.2,<19.3
# first version with manylinux2014 support, Python 3.8 module, Fedora 32
pip193: MICROPIPENV_TEST_PIP_VERSION = >=19.3,<20.0
# Latest version from 2020
pip203: MICROPIPENV_TEST_PIP_VERSION = >=20.3,<21
# Latest version from 2021
pip213: MICROPIPENV_TEST_PIP_VERSION = >=21.3,<22
# Latest release
piplatest: MICROPIPENV_TEST_PIP_VERSION = latest
# Git master
pipgit: MICROPIPENV_TEST_PIP_VERSION = git
# Two implementations of toml format
toml: MICROPIPENV_TEST_TOML_MODULE = toml
pytoml: MICROPIPENV_TEST_TOML_MODULE = pytoml
tomli: MICROPIPENV_TEST_TOML_MODULE = tomli
[testenv:mypy]
commands = mypy micropipenv.py
deps =
mypy