From 8c0e1fb23a0585bd0150566c1bb4adeca6fe2cc7 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Wed, 11 Dec 2013 09:26:39 -0800 Subject: [PATCH] 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 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 5e094584..7edefb68 100644 --- a/tox.ini +++ b/tox.ini @@ -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}'