gazebosim / gz-transport

Transport library for component communication based on publication/subscription and service calls.
https://gazebosim.org
Apache License 2.0
29 stars 36 forks source link

Cherry-pick #472 to main: Find Python3 directly, not with GzPython #480

Closed scpeters closed 5 months ago

scpeters commented 5 months ago

PR #472 is a fix that will unbreak several CI jobs on macOS. It will be merged forward to main in #479, but that is slowed down by issues with commented tests, so I am cherry-picking this so expedite the fix of CI.

Commit message:

This removes the use of gz-cmake's GzPython in favor of a single call to find_package(Python3). This allows setting Python3_EXECUTABLE to specify which python version to use and is needed on macOS.

Note to maintainers: Remember to use Rebase-and-Merge.

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (30560f5) 87.78% compared to head (3f14b54) 87.82%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #480 +/- ## ========================================== + Coverage 87.78% 87.82% +0.03% ========================================== Files 59 59 Lines 5699 5699 ========================================== + Hits 5003 5005 +2 + Misses 696 694 -2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.