From 437c26aaeeb0b66c41673478599dbdfe96e2fb4d Mon Sep 17 00:00:00 2001 From: Fei Long Wang Date: Tue, 24 May 2016 14:57:55 +1200 Subject: [PATCH] Always use pip constraints Depends-On: Idffbdc9325868a3dcd6a9bd7f90f030fd52ee0dc Change-Id: I9f86fa6df33003de213edac8f6da5faad674aa54 --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 887865e99..dc14df70e 100644 --- a/tox.ini +++ b/tox.ini @@ -5,8 +5,7 @@ skipsdist = True [testenv] usedevelop = True -# Customize pip command, add -U to force updates. -install_command = pip install -U {opts} {packages} +install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages} setenv = VIRTUAL_ENV={envdir} ZAQAR_TESTS_CONFIGS_DIR={toxinidir}/zaqar/tests/etc/ ZAQAR_TEST_MONGODB=1 @@ -50,6 +49,7 @@ commands = python setup.py build_sphinx commands = oslo_debug_helper {posargs} [testenv:releasenotes] +install_command = pip install -U --force-reinstall {opts} {packages} commands = sphinx-build -a -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html [flake8]