Some modules in trove.extensions can't be imported as they are blocked by files used for Oslo extensions feature.

Registered by Tim Simpson

We need to add an extension at Rackspace but can't because we can't import anything in the directories sitting at trove/extensions because there are files named the same thing as the directories. For example, "from trove.extensions.mgmt import models" fails because it imports the file "trove/extensions/mgmt.py" and stops. We could move this to "trove/extensions/mgmt/__init__.py" but have an issue because the current extensions code works not by doing real Python imports but looking for files. Thus, the extension *files* could be moved to contrib/extensions.

Blueprint information

Status:
Complete
Approver:
Tim Simpson
Priority:
High
Drafter:
Tim Simpson
Direction:
Approved
Assignee:
Paul Marshall
Definition:
Approved
Series goal:
Accepted for havana
Implementation:
Implemented
Milestone target:
milestone icon 2013.2
Started by
Paul Marshall
Completed by
Michael Basnight

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/fix-extensions-imports,n,z

Addressed by: https://review.openstack.org/40868
    Moves extension files to contrib

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.