Use upper constraints
This commit is used to exclude new python packages from being installed during tox tests and protect our CI from sporadical failures caused by new packages. Change-Id: If83bed2a282e9303cb72bfc419ba7e5abebb17f5 Closes-bug: #1691431
This commit is contained in:
parent
9ea6419878
commit
2f024bb3f0
|
@ -1,4 +1,4 @@
|
|||
Babel>=1.3,!=2.3.0,!=2.3.1,!=2.3.2,!=2.3.3 # BSD
|
||||
Babel>=1.3
|
||||
eventlet>=0.17.4
|
||||
iso8601>=0.1.9
|
||||
jsonschema>=2.0.0,<3.0.0,!=2.5.0
|
||||
|
|
4
tox.ini
4
tox.ini
|
@ -5,7 +5,7 @@ envlist = py27,py34,pep8
|
|||
|
||||
[testenv]
|
||||
usedevelop = True
|
||||
install_command = pip install --allow-external -U {opts} {packages}
|
||||
install_command = pip install -c https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/mitaka {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:fuel_agent/tests}
|
||||
|
||||
[testenv:pep8]
|
||||
deps = hacking==0.10.2
|
||||
deps = hacking
|
||||
commands =
|
||||
flake8 {posargs:fuel_agent}
|
||||
flake8 {posargs:contrib/fuel_bootstrap/fuel_bootstrap_cli/fuel_bootstrap}
|
||||
|
|
Loading…
Reference in New Issue