Migrate from tl_expected to libexpected-dev system package#81
Open
nbbrooks wants to merge 3 commits into
Open
Conversation
cpp_polyfills 2.0.x (lyrical/rolling) dropped the tl_expected sub-package, so packages depending on the rosdep key tl_expected fail to resolve on ubuntu:resolute (lyrical and rolling base). Follow the migration pattern from RSL #159: - package.xml dep: tl_expected -> libexpected-dev - CMake find_package: tl_expected -> tl-expected (dash) - CMake target: tl_expected::tl_expected -> tl::expected - source includes: <tl_expected/expected.hpp> -> <tl/expected.hpp> libexpected-dev provides tl-expectedConfig.cmake on jammy/noble/ resolute, so the change works for all 5 ROS distros. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
The CI container ghcr.io/picknikrobotics/pick_ik:ci is built by docker.yaml only on push (not pull_request), so PRs that change package.xml always run against a stale image. Running rosdep install at CI time picks up new system deps (like the libexpected-dev migration in this PR) without waiting for a container rebuild after merge. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
The pre-built CI container has the ROS GPG key baked into its apt trusted.gpg keyring, and that key has now expired (EXPKEYSIG F42ED6FBAB17C654). apt-get update fails for the ros2-testing source, so rosdep install can't fetch any new deps either. Fetch the current ros.key from rosdistro at CI time. This is already the recommended workaround in the ROS Discourse threads on the topic. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
cpp_polyfills 2.0.x (lyrical/rolling) dropped the
tl_expectedsub-package as part of the migration outlined in PickNikRobotics/generate_parameter_library#311. pick_ik's existing<depend>tl_expected</depend>breaksbloom-releasefor lyrical and rolling on Ubuntu Resolute (rosdep key unresolvable).This PR follows the same migration pattern as PickNikRobotics/RSL#159:
package.xmldep:tl_expected→libexpected-devfind_package:tl_expected→tl-expected(note dash, not underscore)tl_expected::tl_expected→tl::expected<tl_expected/expected.hpp>→<tl/expected.hpp>libexpected-devprovidestl-expectedConfig.cmakeon jammy/noble/resolute, so the change works for all 5 currently-active ROS distros (humble through rolling).Test plan
🤖 Generated with Claude Code