Python2 plugin uses pyversions without installing it

Bug #1541451 reported by Kyle Fazzari
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
Fix Released
High
Sergio Schvezov

Bug Description

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

Kyle Fazzari (kyrofa)
Changed in snapcraft:
status: New → Triaged
importance: Undecided → High
Revision history for this message
Sergio Schvezov (sergiusens) wrote :

This also affects the catkin plugin

Changed in snapcraft:
milestone: none → 2.2.1
assignee: nobody → Sergio Schvezov (sergiusens)
Changed in snapcraft:
status: Triaged → In Progress
Revision history for this message
Sergio Schvezov (sergiusens) wrote :
Changed in snapcraft:
status: In Progress → Fix Committed
Changed in snapcraft:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.