python package failed to install because of directories in the source
Metadata
Current evaluation
Snapcraft 2.27.1-era report that the python plugin fails to install packages when the source contains directories, leaving the executable unstaged. No comments, author account deactivated, and the affected version is long obsolete.
Suggested action: close stale
Reason: The issue is 3455 days old with last activity 3451 days ago, reports against snapcraft 2.27.1 (circa 2017), and the author's account is deactivated. The current snapcraft is a full rewrite of the parts/python plugin stack, so the affected version is no longer supported and the original problem is no longer reproducible in the current codebase. The 'plugin' label shows it was categorised, but nothing has progressed since.
Impact:
15
Quick Win:
9.0
Staleness:
95
Complexity:
40
Confidence:
70
Support Request:
10
Issue body
Edit: title updated. See comment #3.
Upon upgrading to 2.27.1, I find that snapcraft no longer builds my trivial test snap (hosted here: https://code.launchpad.net/~thomir/+git/thomir-says).
It looks like the executable script is no longer being staged, but it does appear in the 'build' directory.
While I don't mind that my test snap no longer builds, I worry that this may represent a major regression for all (or at least some) python-based snaps.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.8-27b |
Impact:
15
Quick Win:
9.0
Staleness:
95
Complexity:
40
Confidence:
70
Support Request:
10
|
close stale | Snapcraft 2.27.1-era report that the python plugin fails to install packages when the source contains directories, leaving the executable unstaged. No comments, author account deactivated, and the affected version is long obsolete. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
98
Complexity:
15
Confidence:
95
Support Request:
30
|
close stale | Reported regression in snapcraft v2.27.1 where python package scripts fail to stage. The issue is over nine years old, has no maintainer interaction, and the author's account is deactivated. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
100
Complexity:
25
Confidence:
95
Support Request:
10
|
close stale | Report of a snapcraft 2.27.1 regression where python package scripts fail to stage properly. Issue is over 9 years old with no maintainer interaction or updates. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
98
Complexity:
20
Confidence:
95
Support Request:
30
|
close stale | Reports a snapcraft 2.27.1 regression where python executables fail to stage. Unanswered for over 9 years; the referenced version is long deprecated and the project has moved on significantly. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
98
Complexity:
30
Confidence:
90
Support Request:
10
|
close stale | Python package installation fails in snapcraft 2.27.1 when directories exist in the source, leaving the executable script unstaged. Labeled plugin, the open issue has zero comments and no activity in over nine years, remaining inactive. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1753965 Error installing Python packages fails with trace | snapcraft (launchpad) | open | Python plugin pip install failures (PyPI miss, VCS clone fail, HTTP 404) abort snapcraft with raw pip output plus a long traceback instead of a clean error. 8.5 years old, zero comments, references removed code path snapcraft/plugins/_python/_pip.py. | |
| #1598396 python2 plugin: no 'build' directory found by setup.py under distribution root | snapcraft (launchpad) | closed | Closed without resolution, likely abandoned or superseded due to Python 2 deprecation and snapcraft updates. No fix or merge details provided. | |
| #1815358 python package not updating during snap creation | snapcraft (launchpad) | open | Snapcraft python plugin fails to rebuild a changed Python package on re-run, keeping the old version; user must flip source-type git/local to force a build. Legacy multipass-VM flow, no maintainer activity in ~7.5 years. | |
| #1675479 python plugin doesn't work for namespace packages | snapcraft (launchpad) | open | Snapcraft's python plugin (python2.7 era) failed to install namespace packages like repoze.lru and paste without __init__.py, causing ImportErrors in the keystone snap. Open since 2016 with zero comments; the affected plugin and pip bug are long obsolete. |