-
Notifications
You must be signed in to change notification settings - Fork 334
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
Drops legacy launch API usage. #311
Conversation
01e50e7
to
3da64a1
Compare
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
3da64a1
to
67c01f8
Compare
@@ -28,7 +28,6 @@ | |||
<test_depend>ament_cmake_pytest</test_depend> | |||
<test_depend>ament_lint_auto</test_depend> | |||
<test_depend>ament_lint_common</test_depend> | |||
<test_depend>launch</test_depend> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why was this dependency removed? Python modules from that package are clearly imported in the code below.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it clearly still needs that dep.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Though launch_testing includes launch
as an exec_depend
. Is that sufficient in this case?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You never want to rely on transitive dependencies. If you use something directly you should declare it as a dependency. What if launch_testing
would be refactored into a standalone package? Then this package would fail.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, my bad. I think I removed them during a previous refactor, when launch_testing
was the only thing needed for testing. I'll get them back ASAP.
Connected to ros2/launch#159.