Skip to content

Commit

Permalink
Add python3-yaml as a dependency (#1490)
Browse files Browse the repository at this point in the history
Verbs such as `ros2 bag play` import the Python yaml package. This
package is probably present in most ROS installations, but in some
minimalist ones (e.g. built with the Nix package manager), it can be
missing.

Here, we add the dependency to package.xml to ensure that the Python
yaml package is always available.

Signed-off-by: Michal Sojka <[email protected]>
  • Loading branch information
wentasah authored Nov 5, 2023
1 parent 8216ea2 commit aa8cc02
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ros2bag/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<license>Apache License 2.0</license>

<exec_depend>ament_index_python</exec_depend>
<exec_depend>python3-yaml</exec_depend>
<exec_depend>rclpy</exec_depend>
<exec_depend>ros2cli</exec_depend>
<exec_depend>rosbag2_py</exec_depend>
Expand Down

0 comments on commit aa8cc02

Please sign in to comment.