OpenStack client is not a runtime dependency of ironicclient,
and having it in requirements just brings in many dependencies
which might not be needed at all when using the Python API of the client
only (for example in server-side applications).
Although dependency on osc-lib is enough for unit tests, add
python-openstackclient to test-requirements so that functional tests
pass.
Also, add a setuptools 'extra' so that users can install
python-openstackclient together with ironicclient if wishing to do so
as follows:
Reviewed: https:/ /review. openstack. org/297730 /git.openstack. org/cgit/ openstack/ python- ironicclient/ commit/ ?id=6b1fefe979c d1d45827a10f71e f98957b4bad64d
Committed: https:/
Submitter: Jenkins
Branch: master
commit 6b1fefe979cd1d4 5827a10f71ef989 57b4bad64d
Author: Pavlo Shchelokovskyy <email address hidden>
Date: Wed Mar 1 17:21:33 2017 +0200
Do not depend on python- openstackclient
OpenStack client is not a runtime dependency of ironicclient,
and having it in requirements just brings in many dependencies
which might not be needed at all when using the Python API of the client
only (for example in server-side applications).
Although dependency on osc-lib is enough for unit tests, add openstackclient to test-requirements so that functional tests
python-
pass.
Also, add a setuptools 'extra' so that users can install openstackclient together with ironicclient if wishing to do so
python-
as follows:
pip install python- ironicclient[ cli]
Change-Id: Ic7d06e61cd234b 327613287802361 c58bf6bf11e
Closes-Bug: #1562023