Repository navigation
Install generated Python interfaces in a Python package - #131
Conversation
Signed-off-by: Michel Hidalgo <[email protected]>
|
This change prevents a package from building if it both generates interfaces and installs a Python package. For example, I have a package that is not longer building since it does something like this: rosidl_generate_interfaces(${PROJECT_NAME}_msgs
...
)
ament_python_install_package(${PROJECT_NAME})I see an error like: |
|
I can't say I didn't see this one coming. A user-defined Maybe there is a way for an |
If it's possible, we could make it an option to extend a previous call to |
|
I'm running into this error in rosbridge_suite as well, when trying to build for Rolling: RobotWebTools/rosbridge_suite#581 Is there any recommendation for how to fix or work around this issue? |
|
Filed a new issue to track rather than discussing on an old merged PR: #141 |
…; enable Rolling in CI (#665) **Public API Changes** The msg and srv interfaces under `rosapi` are moving to a new package `rosapi_msgs`. The ones from `rosbridge_library` were used only for testing and are moving to a new package `rosbridge_test_msgs`. **Description** Fixes #581. Closes #602. Due to a [change](ros2/rosidl_python#131) in rosidl_python, the generated python packages containing msg classes were conflicting with the python package these libraries export (ros2/rosidl_python#141). The solution recommended in that thread was to split these definitions into separate packages.
…; enable Rolling in CI (#665) **Public API Changes** The msg and srv interfaces under `rosapi` are moving to a new package `rosapi_msgs`. The ones from `rosbridge_library` were used only for testing and are moving to a new package `rosbridge_test_msgs`. **Description** Fixes RobotWebTools/rosbridge_suite#581. Closes #602. Due to a [change](ros2/rosidl_python#131) in rosidl_python, the generated python packages containing msg classes were conflicting with the python package these libraries export (ros2/rosidl_python#141). The solution recommended in that thread was to split these definitions into separate packages.
This makes Python interfaces discoverable through
pkg_resourcesandimportlib.metadata.Full CI to be safe: