Ian Wienand 6d78fc4f90 ensure-tox: use venv to install
This currently installs with pip --user which cases problems if you
try to run this version of tox as another user.  This is done in
system-config, for example, where we run tox with "become: yes" to run
testinfra.

By installing tox into a venv, we can call it as another user and it
just works because it's all encapsulated in the venv.  We use the
virtualenv commands exported by ensure-pip to create this.

I think the original motivation for installing tox like this was to
ensure it is done without sudo permissions.  This also doesn't require
permissions, but ensures the resulting tox_executable is able to be
executed in more contexts.

Needed-By: https://review.opendev.org/712819
Change-Id: Iebee8cb72cce7944c537fdb91b6c98ed51878661
2020-05-06 13:01:03 +10:00
..
2020-04-20 17:44:49 +02:00
2020-04-20 17:44:49 +02:00
2019-07-17 15:45:24 +00:00
2019-09-09 18:14:00 +10:00
2020-04-17 10:45:15 +02:00
2020-05-03 19:06:37 +00:00
2019-07-17 15:45:24 +00:00
2020-05-04 17:47:11 +01:00
2020-01-07 17:12:15 +00:00
2020-02-21 06:55:47 -06:00
2019-11-20 20:27:21 +01:00
2017-11-14 13:19:08 +00:00
2018-08-15 08:38:08 +00:00
2020-05-04 17:47:11 +01:00
2020-05-03 19:06:37 +00:00
2019-07-17 15:45:24 +00:00
2020-05-04 17:47:11 +01:00
2020-05-04 17:47:11 +01:00
2018-08-17 10:23:20 +10:00