-
Notifications
You must be signed in to change notification settings - Fork 45
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
Fix: Missing dependency that causes cmake error in downstream (resolves https://github.com/ros2/rosidl_python/issues/198) #199
Conversation
Please add signature to your commit |
@quarkytale Thanks, done. |
ros2#198) Signed-off-by: Isaac Saito <130s@2000.jukuin.keio.ac.jp>
…ment ros2#199 (comment)) Signed-off-by: Isaac Saito <130s@2000.jukuin.keio.ac.jp>
rosidl_generator_py/package.xml
Outdated
@@ -37,6 +37,8 @@ | |||
<exec_depend>rosidl_runtime_c</exec_depend> | |||
<exec_depend>rpyutils</exec_depend> | |||
|
|||
<test_depend>ament_cmake_flake8</test_depend> | |||
<test_depend>ament_cmake_pep257</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.
Ah, oops I wasn't requesting any changes. I think you were correct at first that these need to be exec_depend
to make sure downstream message packages depend on them.
I was only commenting to say the current package.xml depend declarations don't cover this case. We would need to create one, probably called test_export_depend
, to support it better.
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.
Got it, reverted.
Adding them as
exec_depend
means that they'll always be installed when a message package is installed, but these dependencies are probably light enough that this is fine.
It's a bit surprising no one (especially from those who are making products) has requested test_export_depend
-like functionality. I can think of huge test_depend
-ed packages in an upstream package.
…ment ros2#199 (comment)) Signed-off-by: Isaac Saito <130s@2000.jukuin.keio.ac.jp>
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.
Minor change to the comment here, then I'm happy with this.
Co-authored-by: Chris Lalancette <clalancette@gmail.com>
Issue aimed at
ament_cmake_flake8
? #198Changes
package.xml
.ament_cmake_flake8
? #198 (comment), it makes more sense to me in the upstream (here) to install it than making it a job for downstream pkgs.