← Back to issue list

python plugin doesn't work for namespace packages

View original Launchpad issue

Metadata

Project
snapcraft
Number
#1675479
Type
issue
State
open
Author
~corey.bryant
Labels
openstack plugin
Created
2017-03-23 16:26:31.456466+00:00
Updated
2017-05-23 01:36:05.872018+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

snapcraft version: commit dbdaf36a43c7e5682d00e34552ce283f4ec1fc9d (this is the fix for https://bugs.launchpad.net/snapcraft/+bug/1670852). snap: github.com/openstack/snap-keystone When testing the above bug fix, I started hitting the following issue. Note: the above commit did fix the issue reported in that bug. The snap installs successfully now. However, python dependencies aren't fully getting installed. I don't hit these issues on 2.22. For example, after installing the snap, running a command from the snap I hit this: http://paste.ubuntu.com/24230185/ And /snap/keystone/current/lib/python2.7/site-packages/repoze/lru/ does in fact exist. 'touch /snap/keystone/current/lib/python2.7/site-packages/repoze/lru/__init__.py' got me past that issue. Then starting a daemon 'sudo systemctl restart snap.keystone.api' I hit: http://paste.ubuntu.com/24230205/ Once again, 'touch /snap/keystone/x1/lib/python2.7/site-packages/paste/__init__.py' seemed to fix that issue. It seems that the cause of this problem may be due to: https://github.com/pypa/pip/issues/1924

Evaluation history

No evaluation history available.