Python plugin is not idempotent on iterative builds due to faulty `PATH` set up
Metadata
Current evaluation
Python plugin iterative rebuilds can resolve python3 from the prior install venv, causing ensurepip to fail; the current legacy plugin still prepends install/bin to PATH and needs triage.
Suggested action: needs triage
Reason: The issue has no labels, assignee, or maintainer assessment; its only comment is an automated notice that internal ticket CRAFT-2923 was created. The exact two-pack reproducer and ensurepip trace identify the interpreter selection failure, while current BasePythonPlugin still prepends the install bin directory and does not clean an existing venv, so it remains a valid regression target.
Evaluated by: mr-cal-bot
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha |
Impact:
58
Quick Win:
27
Complexity:
47
Confidence:
92
Actionability:
88
|
needs triage | Python plugin iterative rebuilds can resolve python3 from the prior install venv, causing ensurepip to fail; the current legacy plugin still prepends install/bin to PATH and needs triage. | |
| qwen/qwen3.6-35b-a3b |
Impact:
70
Quick Win:
34
Complexity:
40
Confidence:
85
Actionability:
80
|
keep open | Python plugin fails on iterative builds because PATH prepends install dir, causing venv python to shadow system python and break venv recreation | |
| qwen/qwen3.8-27b |
Impact:
60
Quick Win:
27
Staleness:
75
Complexity:
55
Confidence:
70
Support Request:
5
|
needs triage | Python plugin PATH setup causes non-idempotent iterative builds: on rebuild, the venv python in the install dir shadows the build-package python, breaking venv creation. Untriaged since filing 913 days ago; code refactored but core PATH logic unchanged. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
85
Complexity:
45
Confidence:
75
Support Request:
15
|
needs triage | Python plugin fails on iterative snap builds due to PATH manipulation causing incorrect interpreter selection. Currently unlabelled and awaiting maintainer triage after over a year of inactivity. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
95
Complexity:
40
Confidence:
75
Support Request:
5
|
close stale | Python plugin fails on iterative builds due to PATH and virtualenv conflicts. Open for over two years with no maintainer response or labels. |
Update history
No update history recorded yet.
Related work
-
Related To:
canonical/craft-parts#1264
(confidence 90%)
Introduced the python-v2 plugin, which avoids virtual environments, but this does not fix the reported legacy Python plugin.
Related issues
No related issues found above the similarity threshold.