python2 plugin expects pip to be called pip2
Metadata
Current evaluation
The python2 plugin fails when pip is not named pip2. The report was abandoned and closed without resolution or fix, due to zero comments and inactivity.
Suggested action: —
No scores available.
Issue body
When running snapcraft on xenial using "plugin: python2" in my snapcraft.yaml, I get the following error:
python2: can't open file '/path/to/working/directory/parts/script/install/usr/bin/pip2': [Errno 2] No such file or directory
Command '['/bin/sh', '/tmp/tmppwo5dmh2', 'python2', '/path/to/working/directory/parts/script/install/usr/bin/pip2', 'install', '--global-option=build_ext', '--global-option=-I/path/to/working/directory/parts/script/install/usr/include/python2.7', '--target', '/path/to/working/directory/parts/script/install/usr/lib/python2.7/site-packages', '.']' returned non-zero exit status 2
It works, however, if I then copy pip and make give it the name "pip2":
cp parts/script/install/usr/bin/pip parts/script/install/usr/bin/pip2
I imagine therefore, that it simply expects pip to be called pip2
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | The python2 plugin fails when pip is not named pip2. The report was abandoned and closed without resolution or fix, due to zero comments and inactivity. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. The python2 plugin failed when pip was not named pip2. No fix, merge, or resolution details were documented. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1541451 Python2 plugin uses pyversions without installing it | snapcraft (launchpad) | closed | Closed without resolution. The Python2 plugin still lacks the python-minimal dependency required for pyversions, causing build failures in minimal environments. The report appears abandoned or superseded by updated plugin versions. | |
| #3522 python v2 plugin: update pip properly | snapcraft | closed | Rejected and abandoned. Maintainers deemed the automatic pip update a breaking change and redundant compared to existing dependency management methods. The contributor closed the pull request without merging. | |
| #1884429 python plugin v2 doesn't quote python-packages | snapcraft (launchpad) | closed | Closed without resolution or comments. The python plugin v2 fails to quote python-packages entries, causing pip install failures with spaces and platform markers. The issue appears abandoned. |