From ddedb7bb77d1d2c5217dd87f85bfc44eff92cef0 Mon Sep 17 00:00:00 2001 From: Daniel Bengtsson Date: Fri, 15 Nov 2019 11:27:57 +0100 Subject: [PATCH] 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 --- tox.ini | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tox.ini b/tox.ini index 4498790..6766fb6 100644 --- a/tox.ini +++ b/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}