Skip to content

Feature: add depends flag for ament_python_install_package#254

Merged
InvincibleRMC merged 1 commit intoros2:rollingfrom
nadavelkabets:feature/ament-python-install-package-depends
Apr 8, 2026
Merged

Feature: add depends flag for ament_python_install_package#254
InvincibleRMC merged 1 commit intoros2:rollingfrom
nadavelkabets:feature/ament-python-install-package-depends

Conversation

@nadavelkabets
Copy link
Copy Markdown
Contributor

@nadavelkabets nadavelkabets commented Apr 1, 2026

Follows up to ament/ament_cmake#587
Allow a cmake package to install both rosidl generated interfaces and a user written python package.

Changes

Update rosidl_python to use the new DEPENDS argument added to ament_python_install_package.
This is required to assure installation happens only after the interface python modules are generated.

Signed-off-by: = <elnadav12@gmail.com>
@nadavelkabets
Copy link
Copy Markdown
Contributor Author

Before

image

After

image

@InvincibleRMC
Copy link
Copy Markdown
Contributor

Pulls: #254
Gist: https://gist.githubusercontent.com/InvincibleRMC/bcc7575d756ec4450af229590f797ec9/raw/6b8b526340f48fe32fee982786c8cfbdfbe57565/ros2.repos
BUILD args: --continue-on-error --packages-above-and-dependencies rosidl_generator_py
TEST args: --packages-above rosidl_generator_py
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/18866

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

@InvincibleRMC
Copy link
Copy Markdown
Contributor

Fails are related to ros2/rmw_zenoh#956

@InvincibleRMC InvincibleRMC merged commit 2860e2d into ros2:rolling Apr 8, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants