Catkin plugin: support needed for both python2 and python3

Bug #1677002 reported by Kyle Fazzari
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Snapcraft
Triaged
Medium
Unassigned

Bug Description

Currently the Catkin plugin sets PYTHONPATH such that python2 works. However, it turns out that Catkin also uses lsb_release, which is python3. It's worked this long because even base lxc images include lsb-release, but the LP builders do not, which means snaps using the Catkin plugin fail to build on LP unless they include lsb-release in their build-packages.

The Catkin plugin needs to support both python2 and python3 tools. Since we can't set PYTHONPATH for both, the best solution is probably to create python2 and python3 wrappers that set the appropriate PYTHONPATH for each.

Kyle Fazzari (kyrofa)
Changed in snapcraft:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Kyle Fazzari (kyrofa)
Kyle Fazzari (kyrofa)
Changed in snapcraft:
status: In Progress → Triaged
Kyle Fazzari (kyrofa)
Changed in snapcraft:
assignee: Kyle Fazzari (kyrofa) → nobody
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.