do not compile with pip
Metadata
Current evaluation
Fixed in snapcore/snapcraft#779 (commit b9e1aabf6): the Python plugin now skips pip compilation of .pyc files, which were removed later anyway.
Resolution: closed resolved
Reason: The change was merged in snapcore/snapcraft#779 as commit b9e1aabf6, making pip installs use no-compile behavior.
Evaluated by: mr-cal-bot
No scores available.
Issue body
In the python plugin we can disable compiling .pyc files when installing since they are removed at the end of the file anyway
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Fixed in snapcore/snapcraft#779 (commit b9e1aabf6): the Python plugin now skips pip compilation of .pyc files, which were removed later anyway. | |
| stealth/space-bunny-alpha | — | closed resolved | Python plugin stopped compiling .pyc files during pip installs in snapcore/snapcraft#779 (commit b9e1aabf6). | |
| stealth/space-bunny-alpha | — | closed stale | Proposal to disable .pyc compilation during pip installation was abandoned without implementation; the Python plugin remained unchanged. | |
| stealth/space-bunny-alpha | — | closed stale | The request to disable pip bytecode compilation was closed without a recorded fix or maintainer comment after 3,666 days of inactivity. | |
| qwen/qwen3.6-35b-a3b | — | — | Proposed disabling .pyc compilation during pip installation. The request was abandoned without implementation or discussion, leaving the Python plugin unchanged. | |
| qwen/qwen3.6-35b-a3b | — | — | Suggestion to disable .pyc compilation during pip installation was abandoned. Closed without implementation or discussion. | |
| qwen/qwen3.6-35b-a3b | — | — | Suggestion to disable .pyc compilation during pip installation was closed without discussion or implementation. The request was abandoned. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Likely Fixed By:
snapcraft#779
(confidence 100%)
PR #779 implemented the fix and was recorded in commit b9e1aabf6.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1616032 python2 plugin expects pip to be called pip2 | snapcraft (launchpad) | closed | Fixed the Python 2 plugin's incorrect pip2 invocation in snapcraft PR #771 (commit bb7bd40e1); the fix was released in Snapcraft 2.17. | |
| #1734213 Python scripts named pip* filtered out of snaps | snapcraft (launchpad) | closed | Fixed the Python plugin's overbroad -bin/pip* filter in snapcraft#1763 (commit a1fb1aeac), allowing pip2pi console scripts to reach the stage. | |
| #1778716 snapcraft clean snapcraft fails as it cannot find python | snapcraft (launchpad) | closed | Fixed by snapcore/snapcraft PR #2171, which corrected Python plugin cleanup so `snapcraft clean snapcraft` no longer fails when python3 is unavailable. | |
| #2161192 python plugin not working at all with snapcraft 9+ | snapcraft (launchpad) | open | Core26 Python plugin builds and module loading were fixed; packaging Python separately is now documented as required by the base. |