Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unify Python3_Development_FOUND checks (backport #1541) #1548

Merged
merged 1 commit into from
Feb 26, 2025

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Feb 26, 2025

🦟 Bug fix

Fixes hidden warnings when python development libraries are not found, port of gazebosim/gz-transport#565

Summary

The value of Python3_Development_FOUND may change if other code paths call find_package(Python3), so move the warning to be co-located with the add_subdirectory call. Otherwise python bindings may be silently ignored.

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if the library has them)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.


This is an automatic backport of pull request #1541 done by [Mergify](https://mergify.com).

The value of this variable may change if other code paths
call find_package(Python3), so move the warning to be
co-located with the add_subdirectory call.

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
(cherry picked from commit 25c4dc0)
@mergify mergify bot requested review from azeey and scpeters as code owners February 26, 2025 03:59
@mergify mergify bot mentioned this pull request Feb 26, 2025
8 tasks
@github-actions github-actions bot added the 🎵 harmonic Gazebo Harmonic label Feb 26, 2025
Copy link

codecov bot commented Feb 26, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.47%. Comparing base (ff9b3ad) to head (5b15b7c).
Report is 65 commits behind head on sdf14.

Additional details and impacted files
@@            Coverage Diff             @@
##            sdf14    #1548      +/-   ##
==========================================
+ Coverage   92.42%   92.47%   +0.04%     
==========================================
  Files         134      138       +4     
  Lines       17751    18358     +607     
==========================================
+ Hits        16406    16976     +570     
- Misses       1345     1382      +37     

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

@scpeters scpeters merged commit 709e597 into sdf14 Feb 26, 2025
16 checks passed
@scpeters scpeters deleted the mergify/bp/sdf14/pr-1541 branch February 26, 2025 05:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎵 harmonic Gazebo Harmonic
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant