Catkin plugin: support needed for both python2 and python3

Bug #1677002 reported by Kyle Fazzari on 2017-03-28
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Snapcraft
Medium
Kyle Fazzari

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) on 2017-11-21
Changed in snapcraft:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Kyle Fazzari (kyrofa)
Kyle Fazzari (kyrofa) on 2018-02-27
Changed in snapcraft:
status: In Progress → Triaged
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers