From 5e3a4a7e6cf052944d3d7c880aef56826edca6df Mon Sep 17 00:00:00 2001 From: Corentin Le Molgat Date: Wed, 18 Dec 2024 17:36:24 +0100 Subject: [PATCH] bazel: update pybind11_abseil usage * remove naming only used by or-tools --- MODULE.bazel | 2 +- ortools/math_opt/core/python/BUILD.bazel | 4 ++-- ortools/math_opt/io/python/BUILD.bazel | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/MODULE.bazel b/MODULE.bazel index 9373abe2e67..bf6839783d4 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -26,7 +26,7 @@ bazel_dep(name = "googletest", version = "1.15.2", repo_name = "com_google_googl bazel_dep(name = "highs", version = "1.8.1.bcr.1") bazel_dep(name = "platforms", version = "0.0.10") bazel_dep(name = "protobuf", version = "29.2", repo_name = "com_google_protobuf") -bazel_dep(name = "pybind11_abseil", version = "202402.0", repo_name = "org_pybind11_abseil") +bazel_dep(name = "pybind11_abseil", version = "202402.0") bazel_dep(name = "pybind11_bazel", version = "2.13.6") bazel_dep(name = "pybind11_protobuf", version = "0.0.0-20240524-1d7a729") bazel_dep(name = "re2", version = "2024-07-02", repo_name = "com_google_re2") diff --git a/ortools/math_opt/core/python/BUILD.bazel b/ortools/math_opt/core/python/BUILD.bazel index 83f121976b6..0c08f02fad4 100644 --- a/ortools/math_opt/core/python/BUILD.bazel +++ b/ortools/math_opt/core/python/BUILD.bazel @@ -52,8 +52,8 @@ pybind_extension( "//ortools/util:solve_interrupter", "@com_google_absl//absl/memory", "@com_google_absl//absl/status:statusor", - "@org_pybind11_abseil//pybind11_abseil:import_status_module", - "@org_pybind11_abseil//pybind11_abseil:status_casters", + "@pybind11_abseil//pybind11_abseil:import_status_module", + "@pybind11_abseil//pybind11_abseil:status_casters", "@pybind11_protobuf//pybind11_protobuf:native_proto_caster", ], ) diff --git a/ortools/math_opt/io/python/BUILD.bazel b/ortools/math_opt/io/python/BUILD.bazel index b0ebb9d16b2..f15e55b8411 100644 --- a/ortools/math_opt/io/python/BUILD.bazel +++ b/ortools/math_opt/io/python/BUILD.bazel @@ -25,8 +25,8 @@ pybind_extension( "//ortools/math_opt:model_update_cc_proto", "//ortools/math_opt:result_cc_proto", "//ortools/math_opt/io:mps_converter", - "@org_pybind11_abseil//pybind11_abseil:import_status_module", - "@org_pybind11_abseil//pybind11_abseil:status_casters", + "@pybind11_abseil//pybind11_abseil:import_status_module", + "@pybind11_abseil//pybind11_abseil:status_casters", "@pybind11_protobuf//pybind11_protobuf:native_proto_caster", ], )