Comment 4 for bug 1673658

Revision history for this message
Leo Arias (elopio) wrote : Re: regression: 2.27.1 fails to build snap that earlier versions built without issue

We discovered that this is not a regression. And I'm inclined to say that snapcraft shouldn't remove any directories from the source, even if they cause python to go crazy.

However, this could be a little uncomfortable. If you install your python module in the source dir, and it's the same source dir for the snap, you are likely to find this problem or some other worse. Maybe the python plugin could warn if it finds directories that will cause errors during install, or maybe we can force it to ignore these directories and install to $SNAPCRAFT_PART_INSTALL any way. Other ideas are welcome.