Catkin plugin doesn't support rosdep dependencies that resolve to pip

Bug #1683036 reported by Kyle Fazzari
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Snapcraft
Fix Released
Wishlist
Kyle Fazzari

Bug Description

The Catkin plugin currently supports determining dependencies with rosdep and fetching them as stage packages. However, rosdep also supports resolving dependencies into pip. For example:

    $ rosdep resolve python-tzlocal-pip
    #pip
    tzlocal

This should be supported.

Kyle Fazzari (kyrofa)
Changed in snapcraft:
status: New → Triaged
importance: Undecided → Medium
importance: Medium → Wishlist
Revision history for this message
Kyle Fazzari (kyrofa) wrote :

The first step toward fixing this is to extract rosdep into its own area so it can be worked on without getting lost in the enormous catkin plugin. That's being done here: https://github.com/snapcore/snapcraft/pull/1392 .

Changed in snapcraft:
assignee: nobody → Kyle Fazzari (kyrofa)
status: Triaged → In Progress
Revision history for this message
Kyle Fazzari (kyrofa) wrote :

Support for actually parsing dependency types other than apt is here: https://github.com/snapcore/snapcraft/pull/1479 . Still not actually supporting pip, yet, but getting there. At least trying to use pip dependencies will be met with a nicer error, now.

Revision history for this message
Kyle Fazzari (kyrofa) wrote :

First step in extracting pip from the python plugin is to grab a set of helper functions required by pip: https://github.com/snapcore/snapcraft/pull/1540

Revision history for this message
Kyle Fazzari (kyrofa) wrote :

Next step is to extract the sitecustomize generation that will also be required by the Catkin plugin: https://github.com/snapcore/snapcraft/pull/1547

Revision history for this message
Kyle Fazzari (kyrofa) wrote :

The second to last step is the extraction of the pip wrapper itself: https://github.com/snapcore/snapcraft/pull/1549 .

Revision history for this message
Kyle Fazzari (kyrofa) wrote :

And finally, the last step is actually supporting pip dependencies in the Catkin plugin: https://github.com/snapcore/snapcraft/pull/1581

Kyle Fazzari (kyrofa)
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.