Chains of parts with python contents can fail with pkg_resources import error
Bug #1768233 reported by
Jonathan Cave
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
In Progress
|
High
|
Sergio Schvezov |
Bug Description
Testing in a clean up-to-date xenial container and snapcraft installed from git master using a virtualenv as described in HACKING file.
The attached snapcraft.yaml fails to build with an error building the wheel for the python-package in the final part. Excerpt of error:
ImportError: No module named 'pkg_resources.
-----
Failed building wheel for bitstring
Running setup.py clean for bitstring
Failed to build bitstring
ERROR: Failed to build one or more wheels
Changed in snapcraft: | |
milestone: | none → 2.43 |
assignee: | nobody → Sergio Schvezov (sergiusens) |
importance: | Undecided → High |
status: | New → In Progress |
importance: | High → Critical |
Changed in snapcraft: | |
importance: | Critical → High |
milestone: | 2.43 → none |
To post a comment you must log in.
Note that this behaviour seems to have arisen in the last couple of months around the time of the 2.40 release to xenial. However, I haven't managed to establish exactly what changed to cause it.