diff --git a/WORKSPACE b/WORKSPACE index 522f627369..7b98a55fc2 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -126,7 +126,7 @@ git_repository( new_git_repository( name = "pybind11", build_file = "@pybind11_bazel//:pybind11.BUILD", - tag = "v2.9.2", + tag = "v2.10.0", remote = "https://github.com/pybind/pybind11.git", ) diff --git a/cmake/dependencies/CMakeLists.txt b/cmake/dependencies/CMakeLists.txt index 08d35d0ec1..73d1303332 100644 --- a/cmake/dependencies/CMakeLists.txt +++ b/cmake/dependencies/CMakeLists.txt @@ -173,8 +173,8 @@ if(BUILD_PYTHON AND BUILD_pybind11) FetchContent_Declare( pybind11 GIT_REPOSITORY "https://github.com/pybind/pybind11.git" - GIT_TAG "v2.9.1" - #PATCH_COMMAND git apply --ignore-whitespace "${CMAKE_CURRENT_LIST_DIR}/../../patches/pybind11-2.9.1.patch" + GIT_TAG "v2.10.0" + #PATCH_COMMAND git apply --ignore-whitespace "${CMAKE_CURRENT_LIST_DIR}/../../patches/pybind11-2.10.0.patch" ) FetchContent_MakeAvailable(pybind11) list(POP_BACK CMAKE_MESSAGE_INDENT)