make importutils.import_versioned_module work for consuming projects
Bug #1627313 reported by
ChangBo Guo(gcb)
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance Client |
Fix Released
|
High
|
liwei | ||
Vitrage Client |
Fix Released
|
Undecided
|
Tuan | ||
oslo.utils |
Fix Released
|
High
|
ChangBo Guo(gcb) | ||
python-ceilometerclient |
Fix Released
|
Undecided
|
Tuan | ||
python-heatclient |
Fix Released
|
Undecided
|
shizhihui | ||
python-ironicclient |
Fix Released
|
Low
|
ChangBo Guo(gcb) | ||
python-karborclient |
Fix Released
|
Undecided
|
pawnesh kumar | ||
python-muranoclient |
Fix Released
|
Undecided
|
Kirill Zaitsev |
Bug Description
We hard-code module name in method import_
def import_
"""Import a versioned module.
.. versionadded:: 0.3
"""
module = 'oslo.v%s' % version
if submodule:
module = '.'.join((module, submodule))
return import_
But downstream projects can't work and must provide specific version of this method:
http://
Changed in oslo.utils: | |
assignee: | nobody → ChangBo Guo(gcb) (glongwave) |
Changed in python-glanceclient: | |
assignee: | nobody → liwei (wei-li) |
Changed in python-glanceclient: | |
status: | New → In Progress |
Changed in python-heatclient: | |
assignee: | nobody → shizhihui (shizhihui) |
Changed in python-muranoclient: | |
assignee: | nobody → LiuNanke (nanke-liu) |
Changed in python-ceilometerclient: | |
assignee: | nobody → Tuan (tuanla) |
status: | New → In Progress |
Changed in python-karborclient: | |
assignee: | nobody → pawnesh kumar (pawnesh.kumar) |
Changed in python-ironicclient: | |
importance: | Undecided → Low |
Changed in python-vitrageclient: | |
assignee: | nobody → Tuan (tuanla) |
Changed in python-vitrageclient: | |
status: | New → In Progress |
Changed in oslo.utils: | |
status: | New → Fix Released |
Changed in python-muranoclient: | |
status: | In Progress → Invalid |
Changed in python-glanceclient: | |
importance: | Undecided → Low |
Changed in oslo.utils: | |
importance: | Undecided → High |
milestone: | none → 1.8.0 |
Changed in python-glanceclient: | |
importance: | Low → High |
Changed in python-muranoclient: | |
status: | Invalid → Confirmed |
Changed in oslo.utils: | |
milestone: | 1.8.0 → 1.7.0 |
Changed in python-ironicclient: | |
milestone: | none → 0.6.0 |
Changed in python-muranoclient: | |
assignee: | LiuNanke (nanke-liu) → Kirill Zaitsev (kzaitsev) |
status: | Confirmed → In Progress |
To post a comment you must log in.
code review in https:/ /review. openstack. org/#/c/ 375871/