Skip to content

DUPLICATE Update deprecated usage of get_package_share#3705

Draft
nbbrooks wants to merge 5 commits intomoveit:mainfrom
nbbrooks:update-get-package-share
Draft

DUPLICATE Update deprecated usage of get_package_share#3705
nbbrooks wants to merge 5 commits intomoveit:mainfrom
nbbrooks:update-get-package-share

Conversation

@nbbrooks
Copy link
Contributor

@nbbrooks nbbrooks commented Mar 15, 2026

I started addressing ament/ament_index#112 here but it is not released yet

Description

Testing some additional changes to #3703 following the migration pattern in ros2/rviz#1671

I temporarily turned off the deprecations as errors warnings in the CI job, so that CI doesnt short circuit due to other upstream deprecations. We should configure a separate CI job for this so when we are trying to address deprecations we aren't forced to do it all in one PR.

I am looking at #3493 for QT6 support.

Checklist

  • Required by CI: Code is auto formatted using clang-format
  • Extend the tutorials / documentation reference
  • Document API changes relevant to the user in the MIGRATION.md notes
  • Create tests, which fail without this PR reference
  • Include a screenshot if changing a GUI
  • While waiting for someone to review your request, please help review another open pull request to support the maintainers

Stephanie Eng and others added 4 commits March 13, 2026 15:25
…and ament_index_cpp::get_package_share_directory(*, *) to ament_index_cpp::get_package_share_path(package_name) addressing ament/ament_index#112

Revert QT support changes which will be addressed in a separate PR

Temporarily add '-Wno-error=deprecated-declarations' to suppress other upstream deprecatios from short circuiting CI
@codecov
Copy link

codecov bot commented Mar 15, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (848c062) to head (8189640).

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #3705       +/-   ##
==========================================
- Coverage   46.24%   0.00%   -46.23%     
==========================================
  Files         726      49      -677     
  Lines       59483    5678    -53805     
  Branches     7624    1034     -6590     
==========================================
- Hits        27504       0    -27504     
+ Misses      31813    5678    -26135     
+ Partials      166       0      -166     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.


#include <rclcpp/version.h>

// For Rolling, L-turtle, and newer
Copy link

Choose a reason for hiding this comment

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

I believe this is backported

Copy link

Choose a reason for hiding this comment

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

I stand corrected... It's not.

@nbbrooks nbbrooks marked this pull request as draft March 16, 2026 05:11
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