zuul-jobs/roles/tox
Clark Boylan 139f12a371 Don't use pip internals
As of pip10 pip is no longer promising external stable apis (they never
really did anyways just failed to annotate the source as such). As a
result our use of direct pip internals breaks under pip10.

We replace this with a fork and exec of pip instead as the command line
is a stable api. We were already doing this anyways so shouldn't cause
anything to run slower and should be more reliable as an api.

Note that we also remove the import of pip as this does an unexpected
thing and uses pip outside of the virtualenv rather than pip inside the
virtualenv. Since we are only forking pip inside the virtualenv now we
don't need to check for external pip.

Change-Id: Ib2628003995530881d297782f044dfc8a1c72d08
2018-04-16 10:33:46 -07:00
..
defaults Combine tox-siblings and tox roles 2017-11-29 15:34:08 -06:00
library Don't use pip internals 2018-04-16 10:33:46 -07:00
tasks Convert back to zuul.projects 2017-12-01 15:02:20 +11:00
README.rst Combine tox-siblings and tox roles 2017-11-29 15:34:08 -06:00

Runs tox for a project

Role Variables

Environment variables to pass in to the tox run.

Path to a pip constraints file. Will be provided to tox via UPPER_CONSTRAINTS_FILE environment variable if it exists.