python plugin doesn't work for namespace packages
Metadata
Current evaluation
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.
Suggested action: close stale
Reason: The issue is 3448 days old with 0 comments and no maintainer interaction, and it targets the python2.7-era python plugin (snapcraft ~2.22, commit dbdaf36a) whose suspected root cause, pypa/pip#1924, was fixed upstream in pip 8.1 in 2016. The current snapcraft codebase has replaced that plugin with a craft-parts-based Python 3 plugin, so the reported failure mode is no longer applicable to any supported version.
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.8-27b |
Impact:
20
Quick Win:
10.0
Staleness:
95
Complexity:
50
Confidence:
75
Support Request:
10
|
close stale | 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. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
98
Complexity:
65
Confidence:
90
Support Request:
10
|
close stale | Python plugin fails to handle namespace packages, causing missing __init__.py files and import errors. Unaddressed for over 9 years with no maintainer interaction. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
99
Complexity:
50
Confidence:
95
Support Request:
10
|
close stale | Snapcraft python plugin fails to install namespace packages correctly, missing __init__.py files. Reported over 9 years ago with no maintainer response or updates. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
98
Complexity:
35
Confidence:
92
Support Request:
15
|
close stale | Python plugin fails to install namespace packages correctly, missing __init__.py files. Issue is over 9 years old, references Python 2.7 and outdated snapcraft versions, with no maintainer interaction. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
98
Complexity:
45
Confidence:
90
Support Request:
15
|
close stale | snapcraft python plugin fails to install namespace packages, omitting __init__.py files and causing runtime import errors. Open with zero comments and over 60 days of inactivity, awaiting triage and investigation into pip namespace handling. |
Update history
No update history recorded yet.
Related work
-
Related To:
snapcraft#1670852
(confidence 70%)
Launchpad bug the referenced snapcraft commit dbdaf36a fixed; this issue was found while testing that fix.
-
Caused By:
pypa/pip#1924
(confidence 60%)
Reporter explicitly hypothesizes this pip bug (namespace packages missing __init__.py) as the cause; fixed upstream in pip 8.1 (2016).
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1604909 Python3 plugin fails to install requirements that are only available as wheels | snapcraft (launchpad) | open | Snapcraft 1.x python3 plugin passed --install-option=--prefix=usr to pip 8.1.2, which disabled wheel usage and broke installs of wheel-only packages (e.g. entrypoints). 10 years old, 0 comments, no maintainer interaction; the plugin was since rewritten in the modern craft-parts codebase. | |
| #1673658 python package failed to install because of directories in the source | snapcraft (launchpad) | open | 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. |