Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DependencyWalker._get_dependencies() fails to get <depend> #131

Closed
KenYN opened this issue Mar 14, 2019 · 3 comments
Closed

DependencyWalker._get_dependencies() fails to get <depend> #131

KenYN opened this issue Mar 14, 2019 · 3 comments
Labels

Comments

@KenYN
Copy link

KenYN commented Mar 14, 2019

If we are using v2 format, the code at https://github.com/ros-infrastructure/rosdistro/blob/master/src/rosdistro/dependency_walker.py#L120

deps = {
    'buildtool': pkg.buildtool_depends,
    'build': pkg.build_depends,
    'run': pkg.run_depends,
    'test': pkg.test_depends
}

Misses out plain <depend> packages.

@KenYN
Copy link
Author

KenYN commented Mar 14, 2019

Hmm, not a bug I think...

@KenYN KenYN closed this as completed Mar 14, 2019
@KenYN KenYN changed the title DependencyWalker._get_dependencies() fails to get <depends> DependencyWalker._get_dependencies() fails to get <depend> Mar 14, 2019
@dirk-thomas
Copy link
Member

depends are already expanded into build_depends, build_export_depends and exec_depends. The API doesn't even expose them as such. So this is certainly not the reason for whatever problem you are looking into.

See https://github.com/ros-infrastructure/catkin_pkg/blob/e4b9bcd884b5f7fb9e6ddcfaa976aa3c72c22654/src/catkin_pkg/package.py#L91-L95

@KenYN
Copy link
Author

KenYN commented Mar 15, 2019

Note the real issue is ros-infrastructure/rosinstall_generator#53 (comment) - I just jumped the gun with this report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants