Skip to content

Commit 14dd653

Browse files
committed
chore: update protobuf to v31.1 (#15188)
1 parent 1d1ac75 commit 14dd653

11 files changed

Lines changed: 16 additions & 16 deletions

MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ bazel_dep(name = "platforms", version = "0.0.11")
2424
bazel_dep(name = "bazel_skylib", version = "1.7.1")
2525
bazel_dep(name = "rules_cc", version = "0.1.1")
2626
bazel_dep(name = "abseil-cpp", version = "20250127.1", repo_name = "abseil-cpp")
27-
bazel_dep(name = "protobuf", version = "30.2", repo_name = "com_google_protobuf")
27+
bazel_dep(name = "protobuf", version = "31.1", repo_name = "com_google_protobuf")
2828
bazel_dep(name = "boringssl", version = "0.0.0-20230215-5c22014")
2929
bazel_dep(name = "nlohmann_json", version = "3.11.3", repo_name = "com_github_nlohmann_json")
3030
bazel_dep(name = "curl", version = "8.8.0.bcr.3", repo_name = "com_github_curl_curl")

bazel/workspace0.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,10 +155,10 @@ def gl_cpp_workspace0(name = None):
155155
http_archive,
156156
name = "com_google_protobuf",
157157
urls = [
158-
"https://github.com/protocolbuffers/protobuf/archive/v30.2.tar.gz",
158+
"https://github.com/protocolbuffers/protobuf/archive/v31.1.tar.gz",
159159
],
160-
sha256 = "07a43d88fe5a38e434c7f94129cad56a4c43a51f99336074d0799c2f7d4e44c5",
161-
strip_prefix = "protobuf-30.2",
160+
sha256 = "c3a0a9ece8932e31c3b736e2db18b1c42e7070cd9b881388b26d01aa71e24ca2",
161+
strip_prefix = "protobuf-31.1",
162162
)
163163

164164
# Load BoringSSL. This could be automatically loaded by gRPC. But as of

ci/cloudbuild/dockerfiles/demo-debian-bullseye.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ RUN apt-get update && \
8989

9090
# ```bash
9191
WORKDIR /var/tmp/build/protobuf
92-
RUN curl -fsSL https://github.com/protocolbuffers/protobuf/archive/v30.0.tar.gz | \
92+
RUN curl -fsSL https://github.com/protocolbuffers/protobuf/archive/v31.1.tar.gz | \
9393
tar -xzf - --strip-components=1 && \
9494
cmake \
9595
-DCMAKE_BUILD_TYPE=Release \

ci/cloudbuild/dockerfiles/demo-rockylinux-9.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ RUN curl -fsSL https://github.com/abseil/abseil-cpp/archive/20250127.1.tar.gz |
8888

8989
# ```bash
9090
WORKDIR /var/tmp/build/protobuf
91-
RUN curl -fsSL https://github.com/protocolbuffers/protobuf/archive/v30.0.tar.gz | \
91+
RUN curl -fsSL https://github.com/protocolbuffers/protobuf/archive/v31.1.tar.gz | \
9292
tar -xzf - --strip-components=1 && \
9393
cmake \
9494
-DCMAKE_BUILD_TYPE=Release \

ci/cloudbuild/dockerfiles/demo-ubuntu-focal.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ RUN curl -fsSL https://github.com/abseil/abseil-cpp/archive/20250127.1.tar.gz |
5757

5858
# ```bash
5959
WORKDIR /var/tmp/build/protobuf
60-
RUN curl -fsSL https://github.com/protocolbuffers/protobuf/archive/v30.0.tar.gz | \
60+
RUN curl -fsSL https://github.com/protocolbuffers/protobuf/archive/v31.1.tar.gz | \
6161
tar -xzf - --strip-components=1 && \
6262
cmake \
6363
-DCMAKE_BUILD_TYPE=Release \

ci/cloudbuild/dockerfiles/demo-ubuntu-jammy.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ RUN curl -fsSL https://github.com/abseil/abseil-cpp/archive/20250127.1.tar.gz |
5757

5858
# ```bash
5959
WORKDIR /var/tmp/build/protobuf
60-
RUN curl -fsSL https://github.com/protocolbuffers/protobuf/archive/v30.0.tar.gz | \
60+
RUN curl -fsSL https://github.com/protocolbuffers/protobuf/archive/v31.1.tar.gz | \
6161
tar -xzf - --strip-components=1 && \
6262
cmake \
6363
-DCMAKE_BUILD_TYPE=Release \

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ RUN curl -fsSL https://github.com/nlohmann/json/archive/v3.11.3.tar.gz | \
128128
ldconfig && cd /var/tmp && rm -fr build
129129

130130
WORKDIR /var/tmp/build/protobuf
131-
RUN curl -fsSL https://github.com/protocolbuffers/protobuf/archive/v30.0.tar.gz | \
131+
RUN curl -fsSL https://github.com/protocolbuffers/protobuf/archive/v31.1.tar.gz | \
132132
tar -xzf - --strip-components=1 && \
133133
cmake \
134134
-DCMAKE_BUILD_TYPE=Release \

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ RUN curl -fsSL https://github.com/nlohmann/json/archive/v3.11.3.tar.gz | \
141141
cd /var/tmp && rm -fr build
142142

143143
WORKDIR /var/tmp/build/protobuf
144-
RUN curl -fsSL https://github.com/protocolbuffers/protobuf/archive/v30.0.tar.gz | \
144+
RUN curl -fsSL https://github.com/protocolbuffers/protobuf/archive/v31.1.tar.gz | \
145145
tar -xzf - --strip-components=1 && \
146146
cmake \
147147
-DCMAKE_CXX_STANDARD=20 \

ci/cloudbuild/dockerfiles/gcc-oldest.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ RUN curl -fsSL https://github.com/google/benchmark/archive/v1.9.2.tar.gz | \
7979
ldconfig && cd /var/tmp && rm -fr build
8080

8181
WORKDIR /var/tmp/build/protobuf
82-
RUN curl -fsSL https://github.com/protocolbuffers/protobuf/archive/v30.0.tar.gz | \
82+
RUN curl -fsSL https://github.com/protocolbuffers/protobuf/archive/v31.1.tar.gz | \
8383
tar -xzf - --strip-components=1 && \
8484
cmake \
8585
-DCMAKE_BUILD_TYPE=Release \

ci/cloudbuild/dockerfiles/ubuntu-20.04-install.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ RUN curl -fsSL https://github.com/nlohmann/json/archive/v3.11.3.tar.gz | \
125125

126126

127127
WORKDIR /var/tmp/build/protobuf
128-
RUN curl -fsSL https://github.com/protocolbuffers/protobuf/archive/v30.0.tar.gz | \
128+
RUN curl -fsSL https://github.com/protocolbuffers/protobuf/archive/v31.1.tar.gz | \
129129
tar -xzf - --strip-components=1 && \
130130
cmake \
131131
-DCMAKE_BUILD_TYPE=Release \

0 commit comments

Comments
 (0)