[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 commit 4291886c6a)
(cherry picked from commit a0c992beb1)
This commit is contained in:
Jiri Podivin 2022-02-21 13:49:51 +01:00
parent d9afa02a66
commit 9844302e26
1 changed files with 0 additions and 1 deletions

View File

@ -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