Stop configuring install_command in tox.
Currently, we are overriding 'install_command' to use 'pip'. This is considered poor behavior and 'python -m pip' should be used instead: https://snarky.ca/why-you-should-use-python-m-pip/ It turns out that this is the the default value provided by tox: https://tox.readthedocs.io/en/latest/config.html#conf-install_command So we can remove the line and simply use the default value. Change-Id: I50080434a5a11226300eb699fd31103c5e9f5e28
This commit is contained in:
parent
5d28723e27
commit
ddedb7bb77
4
tox.ini
4
tox.ini
|
@ -8,10 +8,6 @@ ignore_basepython_conflict=true
|
|||
|
||||
[testenv]
|
||||
usedevelop = True
|
||||
basepython = python3
|
||||
install_command = pip install -U {opts} {packages}
|
||||
setenv =
|
||||
VIRTUAL_ENV={envdir}
|
||||
deps = -r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
commands = stestr run --slowest {posargs}
|
||||
|
|
Loading…
Reference in New Issue