Pin gnocchiclient to comply with optional deps

Ceilometer pins gnocchiclient in setup.cfg to >=2.2.0,<3.0.0,
since the pk_pkgs lookup plugin does not introspect optional
dependencies, we must also add the pin here.

Closes-Bug: #1670632

Change-Id: I305fb5138182b16b59205dfbc21da32a94b42019
This commit is contained in:
Miguel Alex Cantu 2017-04-05 19:33:40 +00:00 committed by Miguel Alex Cantu (alextricity25)
parent 8301a6c0ec
commit f8995cf084
1 changed files with 5 additions and 1 deletions

View File

@ -139,7 +139,11 @@ ceilometer_requires_pip_packages:
ceilometer_pip_packages:
- ceilometer
- ceilometermiddleware
- gnocchiclient
# Due to https://bugs.launchpad.net/ceilometer/+bug/1660800, gnocchiclient
# must be pinned to < 3.0.0. This constraint matches what is defined in
# the optional dependencies specfied here:
# https://github.com/openstack/ceilometer/blob/stable/newton/setup.cfg#L36
- gnocchiclient>=2.2.0,<3.0.0
- libvirt-python
- oslo.db
- pycrypto