Skip to content

Conversation

civerachb-cpr
Copy link
Contributor

Mike pointed out that in his docker container he had issues running the generator because the Python apt package wasn't available.

Adding the package to the exec depends should fix this.

@civerachb-cpr civerachb-cpr requested a review from a team as a code owner October 7, 2025 19:41
@civerachb-cpr civerachb-cpr requested review from roni-kreinin and luis-camero and removed request for a team October 7, 2025 19:41
Copy link

mergify bot commented Oct 7, 2025

🧪 CI Insights

Here's what we observed from your CI run for 7841e56.

🟢 All jobs passed!

But CI Insights is watching 👀

<exec_depend version_gte="2.5.0">clearpath_diagnostics</exec_depend>
<exec_depend version_gte="2.5.0">clearpath_manipulators</exec_depend>

<exec_depend>python3-apt</exec_depend>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does the generator rely on doing apt things?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes:

  1. Import happens here: https://github.com/clearpathrobotics/clearpath_common/blob/jazzy/clearpath_generator_common/clearpath_generator_common/param/platform.py#L34
  2. The apt cache is used to check the MCU firmware version here: https://github.com/clearpathrobotics/clearpath_common/blob/jazzy/clearpath_generator_common/clearpath_generator_common/param/platform.py#L487-L498

This feature was added somewhat recently, but our standard Ubuntu image includes that package by default, so we never ran into a situation where the dependency was missing before.

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