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

IgnPython: restore PYTHON_EXECUTABLE for now #223

Merged
merged 3 commits into from
Apr 5, 2022

Conversation

scpeters
Copy link
Member

@scpeters scpeters commented Apr 3, 2022

🦟 Bug fix

Fixes gazebosim/gz-math#401

Summary

The PYTHON_EXECUTABLE cmake variable was replaced by Python3_EXECUTABLE in #218 for new versions of cmake. This breaks packages currently using the previous variable name. This pull request restores PYTHON_EXECUTABLE to allow a tick-tock cycle for downstream packages to transition.

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • 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.

The PYTHON_EXECUTABLE cmake variable was replaced by
Python3_EXECUTABLE in gazebosim#218 for new versions of cmake.
This breaks packages currently using the previous
variable name. This restores PYTHON_EXECUTABLE to
allow a tick-tock cycle for downstream packages
to transition.

Signed-off-by: Steve Peters <[email protected]>
@github-actions github-actions bot added Gazebo 1️1️ Dependency of Gazebo classic version 11 🌱 garden Ignition Garden 🏯 fortress Ignition Fortress 🏰 citadel Ignition Citadel labels Apr 3, 2022
Copy link
Contributor

@chapulina chapulina left a comment

Choose a reason for hiding this comment

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

LGTM. @j-rivero didn't sign one commit

Copy link
Contributor

@j-rivero j-rivero left a comment

Choose a reason for hiding this comment

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

Sorry for the regression, did not find it while compiling the whole ignition family. I added a comment for a TODO when me port if to ign-cmake3.

@scpeters
Copy link
Member Author

scpeters commented Apr 5, 2022

LGTM. @j-rivero didn't sign one commit

yep I think there's just a DCO sign-off complaint

@j-rivero j-rivero merged commit c51ef5d into gazebosim:ign-cmake2 Apr 5, 2022
@scpeters scpeters deleted the restore_python_executable branch April 5, 2022 17:46
harshmahesheka pushed a commit to harshmahesheka/ign-cmake that referenced this pull request Apr 5, 2022
* IgnPython: restore PYTHON_EXECUTABLE for now

The PYTHON_EXECUTABLE cmake variable was replaced by
Python3_EXECUTABLE in gazebosim#218 for new versions of cmake.
This breaks packages currently using the previous
variable name. This restores PYTHON_EXECUTABLE to
allow a tick-tock cycle for downstream packages
to transition.

Signed-off-by: Steve Peters <[email protected]>
Co-authored-by: Jose Luis Rivero <[email protected]>
Signed-off-by: Harsh Mahesheka <[email protected]>
@osrf-triage
Copy link

This pull request has been mentioned on Gazebo Community. There might be relevant details there:

https://community.gazebosim.org/t/new-releases-2022-04-27-fortress-citadel/1389/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏰 citadel Ignition Citadel 🏯 fortress Ignition Fortress 🌱 garden Ignition Garden Gazebo 1️1️ Dependency of Gazebo classic version 11
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Regression of python tests in Jammy CI - "Could not find executable"
4 participants