Skip to content

Conversation

scpeters
Copy link
Contributor

@scpeters scpeters commented Aug 1, 2025

Part of gazebosim/gz-jetty#38.

This bumps the sdformat version to 16.0.0 and adjusts for the removal of major versions from cmake package names and cmake targets (see gazebo-tooling/release-tools#1244). This removes the need for the extra unversioned cmake config files, since these are now provided by the upstream package. It also enables building of python bindings (by removing the use of the SKIP_PYBIND11 cmake variable), which is now supported since the python import statements no longer have version numbers.

In order to test the vendor packages before stable releases have been made, a VENDOR_FROM_LIB_VCS_REF option is added. The option is OFF by default, but when enabled allows vendoring from a branch, tag or commit specified in the LIB_VCS_REF variable or main if LIB_VCS_REF is unspecified.

Major version numbers have been removed from package
names in Gazebo Jetty, so extra cmake config files are
no longer needed. Also build python bindings.

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
This allows vendoring from a specified vcs ref instead
of the hard-coded tag. When this option is set to true,
a branch, tag, or commit can be specified in the
LIB_VCS_REF variable. If LIB_VCS_REF is unspecified,
vendoring will use main.

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
@cottsay
Copy link

cottsay commented Aug 1, 2025

Looks like we were previously skipping pybind11. Can you comment on why that's changing?

@scpeters
Copy link
Contributor Author

scpeters commented Aug 1, 2025

Looks like we were previously skipping pybind11. Can you comment on why that's changing?

I updated the description to say that we were previously not building python bindings since the import statements included major version numbers, but now we are able to build python bindings since the version numbers are removed, so we don't need to skip pybind11 anymore

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
@azeey
Copy link
Collaborator

azeey commented Sep 8, 2025

See gazebo-release/gz_cmake_vendor#16 for CI tests

@azeey azeey merged commit 9f72ff7 into rolling Sep 8, 2025
2 checks passed
@scpeters scpeters deleted the scpeters/jetty branch September 8, 2025 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants