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

Replace deprecated PythonInterp with Python3 (backport of #213) #218

Merged
merged 1 commit into from
Mar 31, 2022

Conversation

j-rivero
Copy link
Contributor

Backport of #213

* Replace deprecated PythonInterp with Python3

Signed-off-by: Bi0T1N <[email protected]>
@j-rivero j-rivero changed the title Replace deprecated PythonInterp with Python3 (#213) Replace deprecated PythonInterp with Python3 (backport of #213) Mar 31, 2022
@github-actions github-actions bot added Gazebo 1️1️ Dependency of Gazebo classic version 11 🌱 garden Ignition Garden 🏢 edifice Ignition Edifice 🏯 fortress Ignition Fortress 🏰 citadel Ignition Citadel labels Mar 31, 2022
@scpeters
Copy link
Member

scpeters commented Apr 1, 2022

all ign-math python tests have just started failing on 22.04 (gazebosim/gz-math#401) and the timing makes me suspect that it is related to this pull request

@Bi0T1N
Copy link
Contributor

Bi0T1N commented Apr 2, 2022

all ign-math python tests have just started failing on 22.04 (ignitionrobotics/ign-math#401) and the timing makes me suspect that it is related to this pull request

This is because ign-math also needs some modifications to use ${Python3_EXECUTABLE} instead of the old ${PYTHON_EXECUTABLE} (see e.g. gazebosim/sdformat#907).

scpeters added a commit to scpeters/ign-cmake that referenced this pull request Apr 3, 2022
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]>
j-rivero added a commit 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 #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]>
harshmahesheka pushed a commit to harshmahesheka/ign-cmake that referenced this pull request Apr 5, 2022
…im#218)

* Replace deprecated PythonInterp with Python3

Signed-off-by: Bi0T1N <[email protected]>
Signed-off-by: Harsh Mahesheka <[email protected]>
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏰 citadel Ignition Citadel 🏢 edifice Ignition Edifice 🏯 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.

4 participants