Make sure pip upgrades itself in tox

* tox.ini: Upgrade pip within tox virtualenvs for
openstack-infra/config. Without doing this, tox uses the system pip
version within the constructed virtualenv, and may inadvertently
pull in prerelease versions of dependencies from PyPI. Note that the
option used requires tox 1.6 or newer.

Change-Id: Ie5276a4437e72c5f5a8d1ecf5a7c07977fa5bd77
This commit is contained in:
Jeremy Stanley 2013-09-17 16:34:21 +00:00
parent 99b39318ed
commit ec00f2981f
1 changed files with 4 additions and 0 deletions

View File

@ -1,6 +1,10 @@
[tox]
minversion = 1.6
envlist = pyflakes,pep8
[testenv]
install_command = pip install -U {opts} {packages}
[testenv:pyflakes]
deps = pyflakes
commands = pyflakes modules setup.py