← Back to issue list

broken symlinks when snapping a python project using requirements.txt

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1523384
Type
issue
State
closed
Author
~liu-xiao-guo
Labels
Created
Updated
Closed

Current evaluation

Closed without resolution due to inactivity. The report details broken symlinks in snap installations for Python projects using requirements.txt, but no fix or developer response was provided.

Suggested action:

No scores available.

Issue body

The problem happens on my vivid 15.04 desktop. I have a python project at the location: https://github.com/liu-xiao-guo/restapi Basically, it is a python django webserver project. it works pretty well on my desktop environment. I have tried to put the needed python component into the requirements.txt file, and it looks like: Django==1.9 argparse==1.2.1 djangorestframework==3.3.1 wsgiref==0.1.2 When I tried to compile the project, and it compiles successfully. However, after I deploy it onto the KVM environment, it does not work any more. After some debugging, I found the following broken link inside the snap installation. (amd64)ubuntu@localhost:/apps/restapi.sideload/current/usr/lib/python2.7$ ls -al site-packages lrwxrwxrwx 1 clickpkg clickpkg 89 Dec 7 04:13 site-packages -> /home/liuxg/snappy/tutorials/restapi/parts/django/install/usr/lib/python2.7/dist-packages It is in fact a symbolic link in the file system. http://paste.ubuntu.com/13780734/ Thanks & best regards, XiaoGuo

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Closed without resolution due to inactivity. The report details broken symlinks in snap installations for Python projects using requirements.txt, but no fix or developer response was provided.
qwen/qwen3.6-35b-a3b Closed without comments or resolution, the report was abandoned or superseded by newer snapcraft versions that fixed Python dependency symlink handling.
qwen3.6-35b-a3b-mtp-q6 Abandoned without resolution. Broken symlinks occurred when snapping Python projects using requirements.txt. Lacking maintainer response, the report was closed.

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.
73%