Python plugin: file conflicts when using the plugin with a custom version of Python from another part
Metadata
Current evaluation
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.
Suggested action: close stale
Reason: The issue targets Snapcraft 2.44 (2.x codebase) from ~6.8 years ago with zero maintainer interaction. The current Snapcraft 3.x uses craft-parts, where the Python plugin (craft_parts/plugins/python_plugin.py) no longer has a stage_packages property and instead uses a venv-based approach, making the original root cause (premature stage_packages evaluation) no longer applicable to the current codebase.
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.8-27b |
Impact:
20
Quick Win:
12.0
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. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
98
Complexity:
45
Confidence:
90
Support Request:
15
|
close stale | Snapcraft Python plugin bundles default Python instead of detecting a custom Python part, causing file conflicts. Reported for v2.44 with no maintainer response in over six years. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1617907 Two python parts in the same snapcraft.yaml result in not installing the python correctly | snapcraft (launchpad) | open | Stage-time file conflict when two python3 parts share the same interpreter in one snapcraft.yaml (snapcraft 2.14, ~2019). No labels, 0 comments, no maintainer interaction in ~10 years; the old python plugin was later rewritten, so the conflict no longer applies. | |
| #1882994 [4.0.4][strict] usage of the python plugin forces the python3 interpreter to be shipped in the snap | snapcraft (launchpad) | closed | Closed without resolution. The python plugin forces python3 into the snap, causing runtime path conflicts. Likely abandoned or superseded by newer snapcraft plugin versions. | |
| #1613899 Two python parts have common dependencies file conflicts occur | snapcraft (launchpad) | closed | Closed without resolution or comments. The file conflict error when multiple Python parts share common dependencies was abandoned, likely superseded by updated Snapcraft staging logic. |