build(snap): replace external symlinks to python
Metadata
Current evaluation
Merged a fix replacing external Python symlinks in the snap package to resolve store upload failures. Approved by two reviewers, passed CI, and updated one file to ensure valid package structure.
Suggested action: —
No scores available.
Issue body
- [ ] Have you followed the guidelines for contributing?
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you successfully run `make lint && make test`?
---
Fixes python symlinks detected by a failure in store upload
`package contains external symlinks: bin/python -> /build/imagecraft/stage/usr/bin/python3, bin/python3.12 -> python`
See https://launchpad.net/~canonical-starcraft/+snap/imagecraft/+build/2749540
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged a fix replacing external Python symlinks in the snap package to resolve store upload failures. Approved by two reviewers, passed CI, and updated one file to ensure valid package structure. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged a fix for snap store upload failures caused by external Python symlinks. Replaced absolute symlinks in bin/python and bin/python3.12 with internal references to resolve validation errors. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged a fix replacing external Python symlinks in the snap package. This resolved a store upload failure caused by absolute path references in bin/python and bin/python3.12, ensuring all symlinks point to internal stage binaries. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1889674 built python snap fails automated review due to external symlinks | snapcraft (launchpad) | closed | Closed without comments. Snapcraft 4.1.1 created external symlinks that triggered automated store review failures. The report was likely abandoned or superseded by upstream Snapcraft fixes that corrected symlink handling in subsequent versions. | |
| #1511440 python based package created using snapcraft fails review checks due to external symlink | snapcraft (launchpad) | closed | Closed without resolution. Snapcraft-built Python2 packages failed store review checks due to external symlinks. The report received no comments or fixes and was abandoned. | |
| #51 Make the snap able to run on systems without python3.12 | imagecraft | merged | Merged after reviewer approval and a successful CI retry following an external outage. The change updates two files to enable the snap to run on systems without python3.12, maintaining 97.6% test coverage. |