diff --git a/MODULE.bazel b/MODULE.bazel index dca8611c..df740306 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -78,7 +78,18 @@ use_repo( "stablehlo", ) -bazel_dep(name = "abseil-cpp", version = "20260107.1", repo_name = "com_google_absl") +bazel_dep(name = "abseil-cpp", version = "20260526.0", repo_name = "com_google_absl") + +# abseil-cpp 20260526.0 (required by torch_tpu) is declared incompatible with +# all previous releases: its module metadata dropped `compatibility_level = 1`, +# and bzlmod refuses to mix compatibility levels. Force all dependencies onto +# this version until an abseil release restores the compatibility level +# (https://github.com/abseil/abseil-cpp/pull/2063 dropped it without +# explanation), after which the plain bazel_dep above suffices. +single_version_override( + module_name = "abseil-cpp", + version = "20260526.0", +) # OSS crypto for global_registry_client.cc SHA256. bazel_dep(name = "boringssl", version = "0.20240913.0")