-
Notifications
You must be signed in to change notification settings - Fork 276
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
Python tests fail in CI on macOS #2249
Comments
This may be related to which version of python3 is found by cmake and used to run the tests. Currently the gz-math and sdformat python bindings are built and installed for |
Looking at the protobuf formula in homebrew-core, I see that it supports multiple python versions: |
Do you think this is related to PythonSystemLoaderTest.LoadMultipleSystems test failure in homebrew gz-sim8? |
@scpeters, if protobuf depends on multiple python versions, is there a way to install pin a specific version of python for all our formulas? |
This is also happening for ign-gazebo6 (reference build).
Log output:
|
Currently Changing the As I noted in #2249 (comment), protobuf installs bindings for multiple versions of python, so that could be possible option for us, but it may be extra work. |
I just tried updating We could also just move everything to 3.12 and declare that anyone who wants to use python bindings needs to use 3.12 |
On a suggestion from @traversaro, in osrf/homebrew-simulation#2540 I'm setting |
Used by macOS CI. Part of gazebosim/gz-sim#2249. Signed-off-by: Steve Peters <[email protected]>
Used by macOS CI. Part of gazebosim/gz-sim#2249. Signed-off-by: Steve Peters <[email protected]>
Used by macOS CI. Part of gazebosim/gz-sim#2249. Signed-off-by: Steve Peters <[email protected]>
Used by macOS CI. Part of gazebosim/gz-sim#2249. Signed-off-by: Steve Peters <[email protected]>
Used by macOS CI. Part of gazebosim/gz-sim#2249. Signed-off-by: Steve Peters <[email protected]>
* gz-sim9: fix references to gz-sim-8/plugins * gz-sim9: use [email protected], fix install, add test * Ionic: add python_cmake_arg method, which is Used by macOS CI. Part of gazebosim/gz-sim#2249. Signed-off-by: Steve Peters <[email protected]>
Hey! I noticed the following log output in gz-sim-main and gz-launch-main:
I think this is related to 3.12 -> 3.11 changes, right? |
I think it will be fixed by gazebo-tooling/release-tools#1110, but I'm still waiting for an approval on that PR |
Environment
Description
gz-sim7: from https://build.osrfoundation.org/job/gz_sim-ci-gz-sim7-homebrew-amd64/4/
gz-sim8: from https://build.osrfoundation.org/job/gz_sim-ci-gz-sim8-homebrew-amd64/4/
Steps to reproduce
Output
The text was updated successfully, but these errors were encountered: