@@ -60,9 +60,9 @@ gapic_generator_python()
6060
6161gapic_generator_register_toolchains ()
6262
63- _grpc_version = "1.67.1 "
63+ _grpc_version = "1.71.0 "
6464
65- _grpc_sha256 = "f83aedc91b84d4c396d30b0b2a30f7113c651fe5bc180c8ac08a5f0ff7dcffd2 "
65+ _grpc_sha256 = "9313c3f8f4dd3341597f152d506a50caf571fe40f886e24ea9078891990df285 "
6666
6767http_archive (
6868 name = "com_github_grpc_grpc" ,
@@ -71,29 +71,38 @@ http_archive(
7171 urls = ["https://github.com/grpc/grpc/archive/v%s.zip" % _grpc_version ],
7272)
7373# instantiated in grpc_deps().
74+
75+ _protobuf_version = "30.2"
76+
77+ _protobuf_sha256 = "07a43d88fe5a38e434c7f94129cad56a4c43a51f99336074d0799c2f7d4e44c5"
78+
7479http_archive (
7580 name = "com_google_protobuf" ,
76- sha256 = "008a11cc56f9b96679b4c285fd05f46d317d685be3ab524b2a310be0fbad987e" ,
77- strip_prefix = "protobuf-29.3" ,
78- urls = ["https://github.com/protocolbuffers/protobuf/archive/v29.3. tar.gz" ],
81+ sha256 = _protobuf_sha256 ,
82+ strip_prefix = "protobuf-%s" % _protobuf_version ,
83+ urls = ["https://github.com/protocolbuffers/protobuf/archive/v%s. tar.gz" % _protobuf_version ],
7984)
8085load ("@com_github_grpc_grpc//bazel:grpc_deps.bzl" , "grpc_deps" )
8186
8287grpc_deps ()
8388
84- # Pin the version of rules_cc to the version that is present in
85- # https://github.com/protocolbuffers/protobuf/blob/29.x/protobuf_deps.bzl#L92-L98
8689http_archive (
8790 name = "rules_cc" ,
88- urls = ["https://github.com/bazelbuild/rules_cc/releases/download/0.0.16 /rules_cc-0.0.16 .tar.gz" ],
89- sha256 = "bbf1ae2f83305b7053b11e4467d317a7ba3517a12cef608543c1b1c5bf48a4df " ,
90- strip_prefix = "rules_cc-0.0.16 " ,
91+ urls = ["https://github.com/bazelbuild/rules_cc/releases/download/0.1.1 /rules_cc-0.1.1 .tar.gz" ],
92+ sha256 = "712d77868b3152dd618c4d64faaddefcc5965f90f5de6e6dd1d5ddcd0be82d42 " ,
93+ strip_prefix = "rules_cc-0.1.1 " ,
9194)
9295
9396load ("@com_google_protobuf//:protobuf_deps.bzl" , "protobuf_deps" , "PROTOBUF_MAVEN_ARTIFACTS" )
9497# This is actually already done within grpc_deps but calling this for Bazel convention.
9598protobuf_deps ()
9699
100+ # Add rules_java to resolve the following error
101+ # `The repository '@compatibility_proxy' could not be resolved: Repository '@compatibility_proxy' is not defined`
102+ load ("@rules_java//java:rules_java_deps.bzl" , "rules_java_dependencies" )
103+
104+ rules_java_dependencies ()
105+
97106# gRPC enforces a specific version of Go toolchain which conflicts with our build.
98107# All the relevant parts of grpc_extra_deps() are imported in this WORKSPACE file
99108# explicitly, that is why we do not call grpc_extra_deps() here and call
0 commit comments