Skip to content

Commit f714f9a

Browse files
authored
chore(v3): update bazel version and deps (#15808)
1 parent ba899ad commit f714f9a

36 files changed

+48
-24
lines changed

.bazelversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
8.1.1
1+
8.4.2

MODULE.bazel

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,42 +22,42 @@ module(
2222

2323
bazel_dep(name = "platforms", version = "1.0.0")
2424
bazel_dep(name = "bazel_skylib", version = "1.8.2")
25-
bazel_dep(name = "rules_cc", version = "0.1.4")
26-
bazel_dep(name = "abseil-cpp", version = "20250127.1")
25+
bazel_dep(name = "rules_cc", version = "0.2.14")
26+
bazel_dep(name = "abseil-cpp", version = "20250814.1")
2727

2828
# For backwards compatibility with WORKSPACE.
2929
# The name "com_google_protobuf" is internally used by @bazel_tools,
3030
# a native repository we cannot override.
3131
# See https://github.com/googleapis/google-cloud-cpp/issues/15393
32-
bazel_dep(name = "protobuf", version = "31.1", repo_name = "com_google_protobuf")
33-
bazel_dep(name = "boringssl", version = "0.0.0-20230215-5c22014")
32+
bazel_dep(name = "protobuf", version = "33.1", repo_name = "com_google_protobuf")
33+
bazel_dep(name = "boringssl", version = "0.20241024.0")
3434
bazel_dep(name = "nlohmann_json", version = "3.11.3")
3535
bazel_dep(name = "curl", version = "8.8.0.bcr.3")
3636
bazel_dep(name = "crc32c", version = "1.1.0")
3737
bazel_dep(name = "opentelemetry-cpp", version = "1.19.0")
3838
bazel_dep(name = "rules_proto", version = "7.1.0")
3939
bazel_dep(name = "rules_python", version = "1.6.3")
40-
bazel_dep(name = "rules_apple", version = "3.16.0")
41-
bazel_dep(name = "googletest", version = "1.15.2")
40+
bazel_dep(name = "rules_apple", version = "4.3.2")
41+
bazel_dep(name = "googletest", version = "1.17.0")
4242

43-
bazel_dep(name = "google_benchmark", version = "1.9.2", dev_dependency = True, repo_name = "com_google_benchmark")
43+
bazel_dep(name = "google_benchmark", version = "1.9.4", dev_dependency = True, repo_name = "com_google_benchmark")
4444
bazel_dep(name = "yaml-cpp", version = "0.8.0", dev_dependency = True, repo_name = "com_github_jbeder_yaml_cpp")
4545
bazel_dep(name = "pugixml", version = "1.15", dev_dependency = True, repo_name = "com_github_zeux_pugixml")
4646

4747
# Our `curl.BUILD` file uses these.
4848
bazel_dep(name = "zlib", version = "1.3.1.bcr.7")
49-
bazel_dep(name = "c-ares", version = "1.19.1.bcr.1", repo_name = "com_github_cares_cares")
49+
bazel_dep(name = "c-ares", version = "1.34.5.bcr.2", repo_name = "com_github_cares_cares")
5050

5151
# Pin this to fix a break in bazel/deps-cache.py
52-
bazel_dep(name = "protoc-gen-validate", version = "1.2.1.bcr.1", dev_dependency = True, repo_name = "com_envoyproxy_protoc_gen_validate")
52+
bazel_dep(name = "protoc-gen-validate", version = "1.2.1.bcr.2", dev_dependency = True, repo_name = "com_envoyproxy_protoc_gen_validate")
5353

5454
python = use_extension("@rules_python//python/extensions:python.bzl", "python")
5555
python.toolchain(
5656
ignore_root_user_error = True,
5757
python_version = "3.11",
5858
)
5959

60-
bazel_dep(name = "grpc", version = "1.72.0")
60+
bazel_dep(name = "grpc", version = "1.76.0.bcr.1")
6161
bazel_dep(name = "googleapis", version = "0.0.0-20251111-659ea6e9")
6262
bazel_dep(name = "googleapis-cc", version = "1.0.0")
6363
bazel_dep(name = "googleapis-grpc-cc", version = "1.0.0")

bazel/workspace0.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,10 @@ def gl_cpp_workspace0(name = None):
113113
http_archive,
114114
name = "abseil-cpp",
115115
urls = [
116-
"https://github.com/abseil/abseil-cpp/archive/20250127.1.tar.gz",
116+
"https://github.com/abseil/abseil-cpp/archive/20250512.1.tar.gz",
117117
],
118-
sha256 = "b396401fd29e2e679cace77867481d388c807671dc2acc602a0259eeb79b7811",
119-
strip_prefix = "abseil-cpp-20250127.1",
118+
sha256 = "9b7a064305e9fd94d124ffa6cc358592eb42b5da588fb4e07d09254aa40086db",
119+
strip_prefix = "abseil-cpp-20250512.1",
120120
)
121121

122122
# Load a version of googletest that we know works. This is needed to create

ci/cloudbuild/builds/bazel-oldest.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
set -euo pipefail
1818

19-
export USE_BAZEL_VERSION=7.5.0
19+
export USE_BAZEL_VERSION=7.7.1
2020

2121
source "$(dirname "$0")/../../lib/init.sh"
2222
source module ci/cloudbuild/builds/lib/bazel.sh

ci/cloudbuild/dockerfiles/checkers.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,6 @@ RUN pip3 install mdformat==0.7.19 \
5454
mdformat-frontmatter==2.0.8 \
5555
mdformat-footnote==0.1.1
5656

57-
RUN curl -o /usr/bin/bazelisk -sSL "https://github.com/bazelbuild/bazelisk/releases/download/v1.24.1/bazelisk-linux-${ARCH}" && \
57+
RUN curl -o /usr/bin/bazelisk -sSL "https://github.com/bazelbuild/bazelisk/releases/download/v1.27.0/bazelisk-linux-${ARCH}" && \
5858
chmod +x /usr/bin/bazelisk && \
5959
ln -s /usr/bin/bazelisk /usr/bin/bazel

ci/cloudbuild/dockerfiles/fedora-latest-bazel.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ RUN /var/tmp/ci/install-cloud-sdk.sh
5050
ENV CLOUD_SDK_LOCATION=/usr/local/google-cloud-sdk
5151
ENV PATH=${CLOUD_SDK_LOCATION}/bin:${PATH}
5252

53-
RUN curl -o /usr/bin/bazelisk -sSL "https://github.com/bazelbuild/bazelisk/releases/download/v1.24.1/bazelisk-linux-${ARCH}" && \
53+
RUN curl -o /usr/bin/bazelisk -sSL "https://github.com/bazelbuild/bazelisk/releases/download/v1.27.0/bazelisk-linux-${ARCH}" && \
5454
chmod +x /usr/bin/bazelisk && \
5555
ln -s /usr/bin/bazelisk /usr/bin/bazel
5656

ci/cloudbuild/dockerfiles/fedora-msan.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,6 @@ RUN /var/tmp/ci/install-cloud-sdk.sh
8181
ENV CLOUD_SDK_LOCATION=/usr/local/google-cloud-sdk
8282
ENV PATH=${CLOUD_SDK_LOCATION}/bin:${PATH}
8383

84-
RUN curl -o /usr/bin/bazelisk -sSL "https://github.com/bazelbuild/bazelisk/releases/download/v1.24.1/bazelisk-linux-${ARCH}" && \
84+
RUN curl -o /usr/bin/bazelisk -sSL "https://github.com/bazelbuild/bazelisk/releases/download/v1.27.0/bazelisk-linux-${ARCH}" && \
8585
chmod +x /usr/bin/bazelisk && \
8686
ln -s /usr/bin/bazelisk /usr/bin/bazel

ci/cloudbuild/dockerfiles/ubuntu-24.04.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,6 @@ RUN /var/tmp/ci/install-cloud-sdk.sh
6565
ENV CLOUD_SDK_LOCATION=/usr/local/google-cloud-sdk
6666
ENV PATH=${CLOUD_SDK_LOCATION}/bin:${PATH}
6767

68-
RUN curl -o /usr/bin/bazelisk -sSL "https://github.com/bazelbuild/bazelisk/releases/download/v1.24.1/bazelisk-linux-${ARCH}" && \
68+
RUN curl -o /usr/bin/bazelisk -sSL "https://github.com/bazelbuild/bazelisk/releases/download/v1.27.0/bazelisk-linux-${ARCH}" && \
6969
chmod +x /usr/bin/bazelisk && \
7070
ln -s /usr/bin/bazelisk /usr/bin/bazel

ci/cloudbuild/dockerfiles/ubuntu-focal.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,6 @@ RUN /var/tmp/ci/install-cloud-sdk.sh
6767
ENV CLOUD_SDK_LOCATION=/usr/local/google-cloud-sdk
6868
ENV PATH=${CLOUD_SDK_LOCATION}/bin:${PATH}
6969

70-
RUN curl -o /usr/bin/bazelisk -sSL "https://github.com/bazelbuild/bazelisk/releases/download/v1.24.1/bazelisk-linux-${ARCH}" && \
70+
RUN curl -o /usr/bin/bazelisk -sSL "https://github.com/bazelbuild/bazelisk/releases/download/v1.27.0/bazelisk-linux-${ARCH}" && \
7171
chmod +x /usr/bin/bazelisk && \
7272
ln -s /usr/bin/bazelisk /usr/bin/bazel
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
8.1.1
1+
8.4.2

0 commit comments

Comments
 (0)