Robotics StackExchange | Archived questions

Dependency on python-docopt

Hi there!

I have a package where I want to use python-docopt for argument parsing.

I declare it by

<run_depend>python-docopt</run_depend>

however my local buildfarm throws me a

KeyError: 'docopt'

I see that there is no python-docopt in https://github.com/ros/rosdistro/blob/master/kinetic/distribution.yaml

But how does this relate to https://github.com/ros/rosdistro/blob/master/rosdep/python.yaml

where it is defined?

Did I understand something wrong? Or do I have some misconfigured buildfarm?

Asked by agutenkunst on 2018-07-11 02:27:29 UTC

Comments

Answers

When building debian packages pip rules cannot be used so they will be ignored. Which is why docopt cannot be resolved on the buildfarm. But on command line useage of rosdep pip will work.

I've opened a PR to make it use the debian packages instead: https://github.com/ros/rosdistro/pull/18440

Which is our policy to prefer the native package manager packages when available.

Asked by tfoote on 2018-07-11 02:35:23 UTC

Comments