python3 plugin results in large snap - unnecessary baggage?
Metadata
Current evaluation
Abandoned and closed without resolution. No fix or configuration change addressed the oversized snap generated by the python3 plugin.
Suggested action: —
No scores available.
Issue body
The following yaml has one part which is a 21KB ~600loc python script. The resulting snap is 51MB. Looking at the file list it seems to contain a bunch of stuff which is probably unnecessary? Attachment shows files in snap.
-----------------8<-----------------------
name: ps-mem
version: "3.8"
summary: A utility to accurately report the core memory usage for a program
description: |
confinement: devmode
apps:
ps-mem:
command: usr/bin/ps_mem
parts:
ps-mem:
plugin: python3
source: https://github.com/pixelb/ps_mem.git
-----------------8<-----------------------
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Abandoned and closed without resolution. No fix or configuration change addressed the oversized snap generated by the python3 plugin. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution or comments. Likely abandoned or superseded by updated snapcraft python3 plugin behavior. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution or comments, the report regarding excessive snap size from the python3 plugin was likely abandoned due to inactivity. No optimization or fix was implemented. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #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. |