From 75459e1061474f5b54bbf1da578cb44f982be968 Mon Sep 17 00:00:00 2001 From: Scott Hart Date: Thu, 1 Oct 2026 16:41:19 -0400 Subject: [PATCH 1/2] dep(curl): update MODULE.bazel to the earliest curl module that supports bazel 9 --- .bazelversion | 2 +- MODULE.bazel | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.bazelversion b/.bazelversion index eec6dacbd4823..deeb3d66ef077 100644 --- a/.bazelversion +++ b/.bazelversion @@ -1 +1 @@ -8.8.1 +9.2.0 diff --git a/MODULE.bazel b/MODULE.bazel index b04f6253f077a..27b6dbfe07780 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -32,7 +32,9 @@ bazel_dep(name = "abseil-cpp", version = "20260526.0") bazel_dep(name = "protobuf", version = "35.1", repo_name = "com_google_protobuf") bazel_dep(name = "boringssl", version = "0.20251124.0") bazel_dep(name = "nlohmann_json", version = "3.12.0.bcr.1") -bazel_dep(name = "curl", version = "8.8.0.bcr.3") + +# curl 8.11.0.bcr.1 is the earliest version module that supports bazel 9 +bazel_dep(name = "curl", version = "8.11.0.bcr.1") bazel_dep(name = "opentelemetry-cpp", version = "1.24.0") bazel_dep(name = "rules_proto", version = "7.1.0") bazel_dep(name = "rules_python", version = "2.3.4") From 1e1de9e7c2761d834f4f3691802318b132f7b3d8 Mon Sep 17 00:00:00 2001 From: Scott Hart Date: Fri, 2 Oct 2026 17:29:43 -0400 Subject: [PATCH 2/2] use newer curl --- MODULE.bazel | 7 +++---- ci/showcase/BUILD.bazel.in | 1 + 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/MODULE.bazel b/MODULE.bazel index 27b6dbfe07780..df5d039f42798 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -17,12 +17,11 @@ module( name = "google_cloud_cpp", version = "3.11.0-rc", # Updated by CMake - compatibility_level = 3, # Updated by CMake ) bazel_dep(name = "platforms", version = "1.1.0") bazel_dep(name = "bazel_skylib", version = "1.9.2") -bazel_dep(name = "rules_cc", version = "0.2.17") +bazel_dep(name = "rules_cc", version = "0.2.20") bazel_dep(name = "abseil-cpp", version = "20260526.0") # For backwards compatibility with WORKSPACE. @@ -33,8 +32,8 @@ bazel_dep(name = "protobuf", version = "35.1", repo_name = "com_google_protobuf" bazel_dep(name = "boringssl", version = "0.20251124.0") bazel_dep(name = "nlohmann_json", version = "3.12.0.bcr.1") -# curl 8.11.0.bcr.1 is the earliest version module that supports bazel 9 -bazel_dep(name = "curl", version = "8.11.0.bcr.1") +# curl 8.12.0.bcr.2 is the earliest version module that supports bazel 9 +bazel_dep(name = "curl", version = "8.12.0.bcr.2") bazel_dep(name = "opentelemetry-cpp", version = "1.24.0") bazel_dep(name = "rules_proto", version = "7.1.0") bazel_dep(name = "rules_python", version = "2.3.4") diff --git a/ci/showcase/BUILD.bazel.in b/ci/showcase/BUILD.bazel.in index 16161e68c1b18..5e5d285673a73 100644 --- a/ci/showcase/BUILD.bazel.in +++ b/ci/showcase/BUILD.bazel.in @@ -15,6 +15,7 @@ load("@com_google_protobuf//bazel:cc_proto_library.bzl", "cc_proto_library") load("@com_google_protobuf//bazel:proto_library.bzl", "proto_library") load("@grpc//bazel:cc_grpc_library.bzl", "cc_grpc_library") +load("@rules_cc//cc:defs.bzl", "cc_library", "cc_test") package(default_visibility = ["//visibility:private"])