Python plugin: file conflicts when using the plugin with a custom version of Python from another part
Metadata
Current evaluation
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.
Suggested action: needs triage
Reason: The issue has no labels, maintainer comments, or activity, so it has not been assessed. It provides a concrete configuration and conflicting paths, but current Snapcraft delegates Python behavior to craft-parts; a current-version reproduction or confirmation that the legacy behavior is obsolete is needed.
Evaluated by: mr-cal-bot
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha |
Impact:
46
Quick Win:
8
Complexity:
67
Confidence:
76
Actionability:
55
|
needs triage | 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. | |
| stealth/space-bunny-alpha |
Impact:
42
Quick Win:
22
Complexity:
44
Confidence:
97
Actionability:
94
|
close resolved | Snapcraft 2.44's Python v2 plugin bundled a default interpreter before an earlier custom-Python part was staged, causing file conflicts; a merged fix resolves this. | |
| stealth/space-bunny-alpha |
Impact:
30
Quick Win:
5
Complexity:
55
Confidence:
96
Actionability:
38
|
close stale | Unmaintained core18-era report: Snapcraft 2.44's Python plugin staged a duplicate interpreter when another part supplied Python; the affected legacy stack has since been removed. | |
| qwen/qwen3.8-27b |
Impact:
20
Quick Win:
12
Staleness:
95
Complexity:
40
Confidence:
70
Support Request:
10
|
close stale | Snapcraft 2.44 Python plugin bundles default Python 3.5 when a custom Python 3.7 is built in another part, causing file conflicts. Root cause: stage_packages evaluated too early. No maintainer response; predates Snapcraft 3.x which uses craft-parts venv-based Python plugin without stage_packages. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
98
Complexity:
55
Confidence:
90
Support Request:
10
|
close stale | Python plugin bundles default Python instead of detecting a custom version built in another part, causing file conflicts. The report is over six years old, lacks maintainer response, and targets the unsupported Snapcraft 2.44 release. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
95
Complexity:
40
Confidence:
85
Support Request:
10
|
close stale | Python plugin bundles default Python instead of detecting a custom Python built in another part, causing file conflicts. Untriaged, inactive for ~6.7 years, specific to obsolete Snapcraft 2.44. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
98
Complexity:
45
Confidence:
90
Support Request:
10
|
close stale | Python plugin bundles default Python causing file conflicts when a custom Python part is used. Untriaged, inactive for ~6.7 years, reported against Snapcraft 2.44. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Superseded By:
snapcraft#4044
(confidence 78%)
Commit 302e58eeb introduced the current Snapcraft-specific Python plugin, which delegates to craft-parts rather than the legacy plugin lifecycle described by the report.
-
Related To:
craft-parts#449
(confidence 72%)
Commit 1fbda451 improved checking for a Python interpreter already present in the payload, but it is not identified as a direct resolution of this issue.
-
Related To:
craft-parts#487
(confidence 72%)
Commit d3cc6ccf refined payload-Python detection and may be relevant when reproducing the staged custom-interpreter scenario.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1502105 when two python3 parts are used the pycs give a conflict | snapcraft (launchpad) | closed | Overlapping Python 3 .pyc staging conflicts were fixed in ubuntu-core/snapcraft#50 using Python-plugin snap_fileset filtering; regression coverage was proposed in #109. | |
| #6411 The Python plugin can create conflicting interpreters | snapcraft | closed | Closed as fixed by merged PR #6437 (commit 35853fff8): the Python plugin now rewrites shebangs on core26+ to the absolute /snap/<name>/bin/python3 path, removing PATH-order ambiguity with staged /usr/bin/python3. | |
| #2161191 python plugin messing with snapcraft env | snapcraft (launchpad) | open | 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. |