Use upper constraints, back to mitaka ceilometer

This changes the tox command to use the upper constraints.  This will
avoid known issues with newer versions of the library.

It also properly sets the base ceilometer level for tox to the matching
branch (stable/mitaka).

Change-Id: I85a03fc40356ca1493d6dcf550f63f0deba8dd84
Closes-Bug: 1637938
This commit is contained in:
Drew Thorstensen 2016-10-31 09:37:03 -04:00 committed by Eric Fried
parent 0f0fc2ae91
commit df401e5729
1 changed files with 2 additions and 2 deletions

View File

@ -5,12 +5,12 @@ envlist = py34,py27,pep8
[testenv]
usedevelop = True
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?h=stable/mitaka} {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
PYTHONHASHSEED=0
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
-egit+https://github.com/openstack/ceilometer#egg=ceilometer
-egit+https://github.com/openstack/ceilometer@stable/mitaka#egg=ceilometer
-egit+https://github.com/powervm/pypowervm@release/1.0.0.3#egg=pypowervm
whitelist_externals = bash
commands = bash tools/pretty_tox.sh '{posargs}'