-
Notifications
You must be signed in to change notification settings - Fork 46
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
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.
This makes Python interfaces discoverable through
pkg_resources
andimportlib.metadata
.Full CI to be safe: