Catkin plugin: support needed for both python2 and python3
Bug #1677002 reported by
Kyle Fazzari
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Won't Fix
|
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.
Changed in snapcraft: | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Kyle Fazzari (kyrofa) |
Changed in snapcraft: | |
status: | In Progress → Triaged |
Changed in snapcraft: | |
assignee: | Kyle Fazzari (kyrofa) → nobody |
Changed in snapcraft: | |
status: | Triaged → Won't Fix |
To post a comment you must log in.