diff --git a/MODULE.bazel b/MODULE.bazel index 9122c974aa..0e0a43f2e3 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -49,6 +49,14 @@ git_override( remote = "https://github.com/pybind/pybind11_abseil.git", ) +git_override( + module_name = "pybind11_protobuf", + commit = "f02a2b7653bc50eb5119d125842a3870db95d251", + #patch_strip = 1, + #patches = ["//patches:pybind11_protobuf.patch"], + remote = "https://github.com/pybind/pybind11_protobuf.git", +) + SUPPORTED_PYTHON_VERSIONS = [ "3.9", "3.10", diff --git a/cmake/dependencies/CMakeLists.txt b/cmake/dependencies/CMakeLists.txt index 4b12f243a4..827aed79f1 100644 --- a/cmake/dependencies/CMakeLists.txt +++ b/cmake/dependencies/CMakeLists.txt @@ -210,8 +210,8 @@ if(BUILD_PYTHON) FetchContent_Declare( pybind11_protobuf GIT_REPOSITORY "https://github.com/pybind/pybind11_protobuf.git" - GIT_TAG "84653a591aea5df482dc2bde42c19efafbd53a57" # 2024/06/28 - PATCH_COMMAND git apply --ignore-whitespace "${CMAKE_CURRENT_LIST_DIR}/../../patches/pybind11_protobuf.patch" + GIT_TAG "f02a2b7653bc50eb5119d125842a3870db95d251" # 2025/02/10 + #PATCH_COMMAND git apply --ignore-whitespace "${CMAKE_CURRENT_LIST_DIR}/../../patches/pybind11_protobuf.patch" #GIT_SHALLOW TRUE ) FetchContent_MakeAvailable(pybind11_protobuf)