Rally plugins can't use relative imports
Bug #1446923 reported by
Boris Pavlovic
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Rally |
Fix Released
|
High
|
Boris Pavlovic |
Bug Description
Let's assume that we have next structure in plugins dir.
To reproduce:
|-- ~/.rally/plugins
|---- ~/.rally/
|---- ~/.rally/
If we try to import in some some2 like:
import some2
It will raise error:
2015-04-22 03:35:48.741 32297 WARNING rally.common.utils [-] Failed to load module with plugins /Users/
To fix this we should add to sys.path path to dir with plugins
Changed in rally: | |
status: | New → Confirmed |
status: | Confirmed → Triaged |
importance: | Undecided → High |
assignee: | nobody → Boris Pavlovic (boris-42) |
Changed in rally: | |
milestone: | none → 0.0.4 |
Changed in rally: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/176153
Review: https:/