Importing a python package as a plugin do not validate its requirement.txt
Bug #1874001 reported by
Nagendra Prasath
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
stevedore |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I'm using stevedore to import one of my python package as a plugin.
However importing through stevedore do not seem to validate requirement.txt of my python package and this results in failures at later point of time.
Is stevedore expected to validate requirements.txt of python package being imported? If not, appreciate any suggestions on how to manage dependencies of python packages imported through stevedore please. Thanks!
Package Used: python2-
To post a comment you must log in.
The ExtensionManager takes a Boolean argument called verify_ requirements. It defaults to False, but if you set it to True then when stevedore uses pkg_resources to load the module it will check requirements.
https:/ /docs.openstack .org/stevedore/ latest/ reference/ index.html# extensionmanage r