[Train-Only] Preventing tox from using local packages
Usage of packages already present on the host can have unintend consenquences during test runs. Closes-Bug: #1961302 Signed-off-by: Jiri Podivin <jpodivin@redhat.com> Change-Id: If784d1945b2efed8b7bed30c62067371b014b641 (cherry picked from commit4291886c6a
) (cherry picked from commita0c992beb1
)
This commit is contained in:
parent
d9afa02a66
commit
9844302e26
1
tox.ini
1
tox.ini
|
@ -20,7 +20,6 @@ setenv =
|
|||
PYTHONWARNINGS=ignore:DEPRECATION::pip._internal.cli.base_command,ignore::UserWarning
|
||||
PIP_DISABLE_PIP_VERSION_CHECK=1
|
||||
commands = python setup.py test --slowest --testr-args='{posargs}'
|
||||
sitepackages = True
|
||||
deps =
|
||||
-c {env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/stable/train/upper-constraints.txt}
|
||||
-r {toxinidir}/requirements.txt
|
||||
|
|
Loading…
Reference in New Issue