python plugin not working at all with snapcraft 9+
Metadata
Current evaluation
Python plugin broken on core26/snapcraft 9+ — modules not loading, requires python3-venv instead of python3. No maintainer response after 49 days.
Suggested action: needs triage
Reason: The issue is a valid bug report with specific details and a workaround, but has received no maintainer response or labels after 49 days. The reporter clearly describes two problems: python3-venv stage package requirement and modules not loading. This needs maintainer assessment to determine if it's a known issue, if it's been fixed, or if it requires investigation.
Impact:
65
Quick Win:
42.25
Staleness:
45
Complexity:
35
Confidence:
75
Support Request:
15
Issue body
oHi,
Python plugin for core26/snapcraft 9+ has been announced to be compatible with previous snapcraft.yaml's.
https://forum.snapcraft.io/t/core26-bundled-python-changes/50178
But,
* 'python3-venv' stage package is required instead of 'python3'
* It does not load modules.
Quickest workaround is to add the module directory to the snap runtime env:
```
environment:
PYTHONPATH: $SNAP/lib/python3.13/site-packages:$PYTHONPATH # Temp fix as python-plugin does not work ; as using python runtime with venv modules ; does NOT prevent python-plugin mess with the python env of snapcraft build
```
https://forum.snapcraft.io/t/core26-bundled-python-changes/50178/26
Thanks.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen3.6-35b-a3b-mtp-q6 |
Impact:
65
Quick Win:
42.25
Staleness:
45
Complexity:
35
Confidence:
75
Support Request:
15
|
needs triage | Python plugin broken on core26/snapcraft 9+ — modules not loading, requires python3-venv instead of python3. No maintainer response after 49 days. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
5
Complexity:
40
Confidence:
90
Support Request:
10
|
needs triage | Reports Python plugin incompatibility with snapcraft 9+/core26, requiring python3-venv instead of python3 and failing to load modules. Currently unlabelled with no maintainer response. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
15
Complexity:
40
Confidence:
95
Support Request:
20
|
needs triage | Reports Python plugin incompatibility with snapcraft 9+ and core26, citing missing module loading and incorrect stage package requirements. Currently unlabelled and awaiting maintainer review. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
5
Complexity:
45
Confidence:
90
Support Request:
10
|
needs triage | Reports Python plugin regression in snapcraft 9+/core26 where modules fail to load and requires 'python3-venv' instead of 'python3'. Unlabelled, no maintainer response yet. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #786 Python plugin. Python is broken in core24 classic snaps if snap is used on an older Ubuntu LTS version | craft-parts | open | Python plugin bug: core24 classic snaps fail on older Ubuntu LTS (20.04/22.04) with 'No module named encodings'. Original problem fixed in Snapcraft 8.3.2 via PR #4946; residual follow-up tracked in snapcraft#5144. Inactive since Sept 2024. | |
| #1860884 Python plugin: paths for from the snapcraft snap in sys.path break dependencies | snapcraft (launchpad) | closed | Abandoned due to inactivity. The Python plugin incorrectly included snapcraft snap paths in sys.path during builds, causing dependency conflicts. No resolution or fix was implemented. |