Skip to content

Conversation

scpeters
Copy link
Member

@scpeters scpeters commented Apr 9, 2025

🦟 Bug fix

Summary

  • ade8f2f: python3 is already required, so remove an unneeded check and unreachable build error.
  • f4df9bf: fix logic for finding the psutil python package, since BUILD_TESTING is not defined when that variable is checked. So unconditionally find the python package, and move the build warning to the place where the memory leak test is disabled if the package is not available.

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.

scpeters added 2 commits April 9, 2025 16:07
We already require Python3, so remove the check
and build error from sdf/CMakeLists.txt

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
Search for python psutil package even if
BUILD_TESTING is not set and move error message
to the place where the memory leak test is
disabled if the package is missing. This is
needed because the BUILD_TESTING variable is
not defined until after gz_configure_build.

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
@scpeters scpeters requested a review from azeey as a code owner April 9, 2025 23:15
@github-actions github-actions bot added 🏛️ ionic Gazebo Ionic 🪵 jetty Gazebo Jetty labels Apr 9, 2025
@github-project-automation github-project-automation bot moved this from Inbox to In review in Core development Apr 10, 2025
@scpeters scpeters merged commit 85f0887 into sdf15 Apr 28, 2025
17 checks passed
@scpeters scpeters deleted the scpeters/fix_python_cmake_checks branch April 28, 2025 14:29
@github-project-automation github-project-automation bot moved this from In review to Done in Core development Apr 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🏛️ ionic Gazebo Ionic 🪵 jetty Gazebo Jetty

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants