diff --git a/tox.ini b/tox.ini index 2e44208..3508baa 100644 --- a/tox.ini +++ b/tox.ini @@ -5,7 +5,7 @@ envlist = py27,py34,func,pep8 [testenv] usedevelop = True -install_command = pip install --allow-external -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} passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY deps = -r{toxinidir}/requirements.txt @@ -14,7 +14,7 @@ commands = py.test -vv {posargs:bareon/tests} [testenv:pep8] -deps = hacking==0.10.2 +deps = hacking>=0.10.3 commands = flake8 {posargs:bareon} flake8 {posargs:contrib/fuel_bootstrap/fuel_bootstrap_cli/fuel_bootstrap}