Add -U to pip install command in tox.ini

Ask pip to upgrade packages in the virtualenv so that a long-lived
virtualenv is still kept up to date as external dependencies change.

Change-Id: Id1e83aa5dd7c39d4827baeb39827b0ddeb8b6d4a
This commit is contained in:
James E. Blair
2013-12-11 09:26:39 -08:00
parent 69c865695f
commit 8c0e1fb23a

View File

@@ -13,7 +13,7 @@ setenv = VIRTUAL_ENV={envdir}
NOSE_OPENSTACK_YELLOW=0.025
NOSE_OPENSTACK_SHOW_ELAPSED=1
usedevelop = True
install_command = pip install {opts} {packages}
install_command = pip install -U {opts} {packages}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = python setup.py testr --testr-args='{posargs}'