python based package created using snapcraft fails review checks due to external symlink
Bug #1511440 reported by
Ricardo Kirkner
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Snapcraft | Status tracked in Trunk | |||||
1.x |
Fix Released
|
High
|
Kyle Fazzari | |||
Trunk |
Fix Released
|
High
|
Kyle Fazzari |
Bug Description
When creating a snap package based on python2, the package is successfully built, but upon uploading it to the store, the review checks fail with
package contains external symlinks: /tmp/clickrevie
Attached are the files necessary to reproduce the build
Changed in snapcraft: | |
status: | Invalid → Triaged |
To post a comment you must log in.
As suggested by Sergio, adding the following to the snapcraft.yaml file produces a package that passes the review checks
parts: python2. 7/site- packages python2. 7/sitecustomize .py
flexget:
...
snap:
- -usr/lib/
- -usr/lib/