← Back to issue list

Python2 plugin uses pyversions without installing it

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1541451
Type
issue
State
closed
Author
~kyrofa
Labels
Created
Updated
Closed

Current evaluation

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.

Suggested action:

No scores available.

Issue body

The Python2 plugin utilizes pyversions, but doesn't install python-minimal (which contains pyversions). This breaks down when python-minimal is not on the system (e.g. in the Classic Dimension), where a snapcraft.yaml with a part utilizing the python2 plugin errors out with: $ snapcraft snap pyversions -d /tmp/tmpu5xzsumf: 2: exec: pyversions: not found Command '['/bin/sh', '/tmp/tmpu5xzsumf', 'pyversions', '-d']' returned non-zero exit status 127

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b 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.
qwen/qwen3.6-35b-a3b Abandoned. The Python2 plugin fails to install python-minimal, causing pyversions command failures during builds.
qwen3.6-35b-a3b-mtp-q6 Python2 plugin fails without python-minimal. The issue was abandoned due to inactivity with no fix or resolution implemented.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1616032 python2 plugin expects pip to be called pip2 snapcraft (launchpad) closed 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.
74%