Update third_party/protobuf to v3.19.2 (#28511)

* Update third_party/protobuf

* run tools/distrib/python/make_grpcio_tools.py

* regenerate protos for csharp, ruby, php

* update build_handwritten.yaml

* regenerate projects
reviewable/pr28543/r1
Jan Tattermusch 3 years ago committed by GitHub
parent 54036ef62d
commit 42c08b9b56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      bazel/grpc_deps.bzl
  2. 2
      build_handwritten.yaml
  3. 2
      grpc.gemspec
  4. 2
      src/csharp/build/dependencies.props
  5. 2
      src/objective-c/!ProtoCompiler-gRPCCppPlugin.podspec
  6. 2
      src/objective-c/!ProtoCompiler-gRPCPlugin.podspec
  7. 2
      src/objective-c/!ProtoCompiler.podspec
  8. 3
      src/ruby/pb/src/proto/grpc/testing/test_pb.rb
  9. 3
      src/ruby/qps/src/proto/grpc/testing/benchmark_service_pb.rb
  10. 3
      src/ruby/qps/src/proto/grpc/testing/control_pb.rb
  11. 3
      src/ruby/qps/src/proto/grpc/testing/report_qps_scenario_service_pb.rb
  12. 3
      src/ruby/qps/src/proto/grpc/testing/stats_pb.rb
  13. 3
      src/ruby/qps/src/proto/grpc/testing/worker_service_pb.rb
  14. 2
      third_party/protobuf
  15. 2
      third_party/protobuf.patch
  16. 2
      tools/distrib/python/grpc_version.py
  17. 2
      tools/distrib/python/grpcio_tools/grpc_version.py
  18. 4
      tools/distrib/python/grpcio_tools/protoc_lib_deps.py
  19. 2
      tools/run_tests/sanity/check_submodules.sh

@ -213,11 +213,11 @@ def grpc_deps():
if "com_google_protobuf" not in native.existing_rules():
http_archive(
name = "com_google_protobuf",
sha256 = "74b5c6f7ca553a8d7c365ff0b5008ef5a44bc1aaeca6f964ad7557c2fa430691",
strip_prefix = "protobuf-0dab03ba7bc438d7ba3eac2b2c1eb39ed520f928",
sha256 = "1f11c0cb85d5006da7032ac588f87e2e3eb28e9b095f81aba8956cb3635c8d4e",
strip_prefix = "protobuf-cb46755e6405e083b45481f5ea4754b180705529",
urls = [
"https://storage.googleapis.com/grpc-bazel-mirror/github.com/protocolbuffers/protobuf/archive/0dab03ba7bc438d7ba3eac2b2c1eb39ed520f928.tar.gz",
"https://github.com/protocolbuffers/protobuf/archive/0dab03ba7bc438d7ba3eac2b2c1eb39ed520f928.tar.gz",
"https://storage.googleapis.com/grpc-bazel-mirror/github.com/protocolbuffers/protobuf/archive/cb46755e6405e083b45481f5ea4754b180705529.tar.gz",
"https://github.com/protocolbuffers/protobuf/archive/cb46755e6405e083b45481f5ea4754b180705529.tar.gz",
],
patches = ["@com_github_grpc_grpc//third_party:protobuf.patch"],
patch_args = ["-p1"],

@ -15,7 +15,7 @@ settings:
core_version: 22.0.0
csharp_major_version: 2
g_stands_for: great
protobuf_version: 3.18.1
protobuf_version: 3.19.2
version: 1.44.0-dev
targets:
- name: check_epollexclusive

2
grpc.gemspec generated

@ -32,7 +32,7 @@ Gem::Specification.new do |s|
s.require_paths = %w( src/ruby/lib src/ruby/bin src/ruby/pb )
s.platform = Gem::Platform::RUBY
s.add_dependency 'google-protobuf', '~> 3.18'
s.add_dependency 'google-protobuf', '~> 3.19'
s.add_dependency 'googleapis-common-protos-types', '~> 1.0'
s.add_development_dependency 'bundler', '>= 1.9'

@ -2,6 +2,6 @@
<Project>
<PropertyGroup>
<GrpcCsharpVersion>2.44.0-dev</GrpcCsharpVersion>
<GoogleProtobufVersion>3.18.1</GoogleProtobufVersion>
<GoogleProtobufVersion>3.19.2</GoogleProtobufVersion>
</PropertyGroup>
</Project>

@ -100,7 +100,7 @@ Pod::Spec.new do |s|
s.preserve_paths = plugin
# Restrict the protoc version to the one supported by this plugin.
s.dependency '!ProtoCompiler', '3.18.1'
s.dependency '!ProtoCompiler', '3.19.2'
# For the Protobuf dependency not to complain:
s.ios.deployment_target = '9.0'
s.osx.deployment_target = '10.10'

@ -102,7 +102,7 @@ Pod::Spec.new do |s|
s.preserve_paths = plugin
# Restrict the protoc version to the one supported by this plugin.
s.dependency '!ProtoCompiler', '3.18.1'
s.dependency '!ProtoCompiler', '3.19.2'
# For the Protobuf dependency not to complain:
s.ios.deployment_target = '9.0'
s.osx.deployment_target = '10.10'

@ -36,7 +36,7 @@ Pod::Spec.new do |s|
# exclamation mark ensures that other "regular" pods will be able to find it as it'll be installed
# before them.
s.name = '!ProtoCompiler'
v = '3.18.1'
v = '3.19.2'
s.version = v
s.summary = 'The Protobuf Compiler (protoc) generates Objective-C files from .proto files'
s.description = <<-DESC

@ -1,9 +1,10 @@
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: src/proto/grpc/testing/test.proto
require 'google/protobuf'
require 'src/proto/grpc/testing/empty_pb'
require 'src/proto/grpc/testing/messages_pb'
require 'google/protobuf'
Google::Protobuf::DescriptorPool.generated_pool.build do
add_file("src/proto/grpc/testing/test.proto", :syntax => :proto3) do

@ -1,9 +1,10 @@
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: src/proto/grpc/testing/benchmark_service.proto
require 'src/proto/grpc/testing/messages_pb'
require 'google/protobuf'
require 'src/proto/grpc/testing/messages_pb'
Google::Protobuf::DescriptorPool.generated_pool.build do
add_file("src/proto/grpc/testing/benchmark_service.proto", :syntax => :proto3) do
end

@ -1,9 +1,10 @@
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: src/proto/grpc/testing/control.proto
require 'google/protobuf'
require 'src/proto/grpc/testing/payloads_pb'
require 'src/proto/grpc/testing/stats_pb'
require 'google/protobuf'
Google::Protobuf::DescriptorPool.generated_pool.build do
add_file("src/proto/grpc/testing/control.proto", :syntax => :proto3) do

@ -1,9 +1,10 @@
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: src/proto/grpc/testing/report_qps_scenario_service.proto
require 'src/proto/grpc/testing/control_pb'
require 'google/protobuf'
require 'src/proto/grpc/testing/control_pb'
Google::Protobuf::DescriptorPool.generated_pool.build do
add_file("src/proto/grpc/testing/report_qps_scenario_service.proto", :syntax => :proto3) do
end

@ -1,9 +1,10 @@
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: src/proto/grpc/testing/stats.proto
require 'src/proto/grpc/core/stats_pb'
require 'google/protobuf'
require 'src/proto/grpc/core/stats_pb'
Google::Protobuf::DescriptorPool.generated_pool.build do
add_file("src/proto/grpc/testing/stats.proto", :syntax => :proto3) do
add_message "grpc.testing.ServerStats" do

@ -1,9 +1,10 @@
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: src/proto/grpc/testing/worker_service.proto
require 'src/proto/grpc/testing/control_pb'
require 'google/protobuf'
require 'src/proto/grpc/testing/control_pb'
Google::Protobuf::DescriptorPool.generated_pool.build do
add_file("src/proto/grpc/testing/worker_service.proto", :syntax => :proto3) do
end

@ -1 +1 @@
Subproject commit 0dab03ba7bc438d7ba3eac2b2c1eb39ed520f928
Subproject commit cb46755e6405e083b45481f5ea4754b180705529

@ -5,7 +5,7 @@ index 97ac28028..8b7585d9d 100644
@@ -31,3 +31,9 @@
# Copyright 2007 Google Inc. All Rights Reserved.
__version__ = '3.18.1'
__version__ = '3.19.2'
+
+if __name__ != '__main__':
+ try:

@ -15,4 +15,4 @@
# AUTO-GENERATED FROM `$REPO_ROOT/templates/tools/distrib/python/grpcio_tools/grpc_version.py.template`!!!
VERSION = '1.44.0.dev0'
PROTOBUF_VERSION = '3.18.1'
PROTOBUF_VERSION = '3.19.2'

@ -15,4 +15,4 @@
# AUTO-GENERATED FROM `$REPO_ROOT/templates/tools/distrib/python/grpcio_tools/grpc_version.py.template`!!!
VERSION = '1.44.0.dev0'
PROTOBUF_VERSION = '3.18.1'
PROTOBUF_VERSION = '3.19.2'

File diff suppressed because one or more lines are too long

@ -36,7 +36,7 @@ third_party/googletest c9ccac7cb7345901884aabf5d1a786cfa6e2f397
third_party/libuv 02a9e1be252b623ee032a3137c0b0c94afbe6809
third_party/opencensus-proto 4aa53e15cbf1a47bc9087e6cfdca214c1eea4e89
third_party/opentelemetry 60fa8754d890b5c55949a8c68dcfd7ab5c2395df
third_party/protobuf 0dab03ba7bc438d7ba3eac2b2c1eb39ed520f928
third_party/protobuf cb46755e6405e083b45481f5ea4754b180705529
third_party/protoc-gen-validate 59da36e59fef2267fc2b1849a05159e3ecdf24f3
third_party/re2 8e08f47b11b413302749c0d8b17a1c94777495d5
third_party/xds cb28da3451f158a947dfc45090fe92b07b243bc1

Loading…
Cancel
Save