Fix requirements and tests for python-fuelclient 8.0
* bump pbr version to >=1.6 as it is in global-requirements * uncomment extras section in setup.cfg as new pbr can handle it now * turn off "newly" introduced fuzzy command suggestions in cliff for tests Change-Id: I161813b7e25719b6bb19909adfc2d094c5c480ce
This commit is contained in:
parent
30119979b8
commit
96dce81ac5
|
@ -28,6 +28,10 @@ class SafeOctaneApp(app.OctaneApp):
|
||||||
parser.set_defaults(debug=True)
|
parser.set_defaults(debug=True)
|
||||||
return parser
|
return parser
|
||||||
|
|
||||||
|
def get_fuzzy_matches(self, cmd):
|
||||||
|
# Turn off guessing, we need exact failures in tests
|
||||||
|
return []
|
||||||
|
|
||||||
def run(self, argv):
|
def run(self, argv):
|
||||||
try:
|
try:
|
||||||
exit_code = super(SafeOctaneApp, self).run(argv)
|
exit_code = super(SafeOctaneApp, self).run(argv)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# NOTE: These requirements *must* match those of libs installed on Fuel master
|
# NOTE: These requirements *must* match those of libs installed on Fuel master
|
||||||
# To verify them, use command like "rpm -q --whatrequires python-cliff" and
|
# To verify them, use command like "rpm -q --whatrequires python-cliff" and
|
||||||
# examine requirements of software listed there.
|
# examine requirements of software listed there.
|
||||||
pbr>=0.6,!=0.7,<1.0
|
pbr>=1.6
|
||||||
|
|
||||||
python-fuelclient # It pulls following libs:
|
python-fuelclient # It pulls following libs:
|
||||||
#cliff
|
#cliff
|
||||||
|
|
|
@ -23,11 +23,9 @@ classifier =
|
||||||
packages =
|
packages =
|
||||||
octane
|
octane
|
||||||
|
|
||||||
# NOTE(akscram): The extras section properly handled in pbr>=1.0.0 and
|
[extras]
|
||||||
# represents the extras_require parameter.
|
zabbix =
|
||||||
# [extras]
|
pyzabbix==0.7.3
|
||||||
# zabbix =
|
|
||||||
# pyzabbix==0.7.3
|
|
||||||
|
|
||||||
[entry_points]
|
[entry_points]
|
||||||
console_scripts =
|
console_scripts =
|
||||||
|
|
Loading…
Reference in New Issue