manilaclient's OSC plugin uses openstackclient code but doesn't specify it in requirements.txt
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-manilaclient |
Invalid
|
Undecided
|
Unassigned |
Bug Description
python-manilaclient includes an OSC plugin since its Ussuri release [1]
It's currently importing code from python-
Feels like an anti pattern to use code from openstackclient, when there is an osc-lib for reusable, common code. Neutronclient has a copy of this common code in their repo to avoid depending on python-
[1] https:/
[2] https:/
[3] https:/
I missed the openstackclient documentation regarding this: https:/ /docs.openstack .org/python- openstackclient /latest/ contributor/ plugins. html#requiremen ts
Looks like this anti pattern is specifically called out there. As such, this isn't a bug if this is what other projects are doing.