python plugin messing with snapcraft env
Metadata
Current evaluation
Vague report that the Python plugin alters Snapcraft's own Python version/modules instead of isolating part deps in a venv; links a core26 forum thread. No labels, no maintainer response, zero comments, no reproducer.
Suggested action: needs triage
Reason: The issue has no labels, no assignee and no comments after 76 days, so it has never been assessed by a maintainer. The body is two sentences plus a forum link, with no version, no project YAML, no logs, and no reproducible example, so it cannot be acted on without clarification. craft-parts' python_v2 plugin is explicitly documented as intentionally not requiring venvs (it sets PIP_USER/PYTHONUSERBASE and generates a sitecustomize in CRAFT_PART_INSTALL), so the reported behaviour may be by design rather than a defect.
Evaluated by: mr-cal-bot
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha |
Impact:
35
Quick Win:
1
Complexity:
65
Confidence:
62
Actionability:
12
|
needs triage | Vague report that the Python plugin alters Snapcraft's own Python version/modules instead of isolating part deps in a venv; links a core26 forum thread. No labels, no maintainer response, zero comments, no reproducer. | |
| stealth/space-bunny-alpha |
Impact:
48
Quick Win:
5
Complexity:
63
Confidence:
80
Actionability:
28
|
needs triage | Untriaged report that the Python plugin alters Snapcraft's Python version and modules instead of isolating part dependencies in a virtual environment. | |
| stealth/space-bunny-alpha |
Impact:
50
Quick Win:
7
Complexity:
59
Confidence:
88
Actionability:
35
|
needs triage | Untriaged report that the Python plugin changes Snapcraft’s Python version and modules instead of using a virtual environment; no labels, maintainer response, or reproducible example. | |
| stealth/space-bunny-alpha |
Impact:
55
Quick Win:
18
Complexity:
35
Confidence:
75
Actionability:
50
|
needs triage | Reports the Python plugin altering Snapcraft's Python environment instead of isolating project dependencies in a virtual environment; no reproducer or maintainer assessment is provided. | |
| qwen3.6-35b-a3b-mtp-q6 |
Impact:
55
Quick Win:
41
Staleness:
55
Complexity:
25
Confidence:
85
Support Request:
15
|
close not a bug | Python plugin leaking snapcraft's site-packages into builds, causing environment pollution. This issue appears to describe the same problem fixed in snapcraft#2901. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
20
Complexity:
40
Confidence:
95
Support Request:
20
|
needs triage | Reports that the snapcraft python plugin modifies the host environment instead of using a virtual environment. Currently unlabelled with no maintainer comments, awaiting initial triage. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
5
Complexity:
50
Confidence:
95
Support Request:
40
|
needs triage | Python plugin unexpectedly modifies the snapcraft environment instead of isolating changes in a virtual environment. Issue is fresh, unlabelled, and awaiting maintainer assessment. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
5
Complexity:
30
Confidence:
95
Support Request:
25
|
needs triage | Reports that the snapcraft python plugin modifies the host environment instead of using a virtual environment. Unlabelled, no maintainer response, 0 comments. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Related To:
snapcraft#2901
(confidence 72%)
Merged PR fixing $SNAP/site-packages leaking into builds; same area but addresses env leakage, not the venv-isolation request.
-
Related To:
snapcraft (launchpad)#2161192
(confidence 65%)
Companion report filed the same day about the Python plugin breaking with core26/snapcraft 9+, sharing the same forum thread and also lacking a reproducer.
-
Duplicate Of:
snapcraft (launchpad)#1860884
(confidence 30%)
Earlier report that the snapcraft snap's site-packages break part dependencies; closed via PR #2901, but that fix is narrower than the venv request here.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2161192 python plugin not working at all with snapcraft 9+ | snapcraft (launchpad) | open | Core26 Python plugin builds and module loading were fixed; packaging Python separately is now documented as required by the base. | |
| #1850921 Python plugin: file conflicts when using the plugin with a custom version of Python from another part | snapcraft (launchpad) | open | Python plugin reportedly provisions Python 3.5 before a custom-Python part is staged, causing /usr/bin conflicts; this Snapcraft 2.44 report remains untriaged against the current plugin architecture. | |
| #1675479 python plugin doesn't work for namespace packages | snapcraft (launchpad) | open | 2017 report that snapcraft's in-tree python plugin mishandled namespace packages (missing __init__.py / .pth) for Python 2.7 classic snaps; maintainer called it invalid, reporter's workaround was touch-ing __init__.py, no activity since 2017. |