diff --git a/exporter/otlp/Appraisals b/exporter/otlp/Appraisals index 1075c1688..7087b44b0 100644 --- a/exporter/otlp/Appraisals +++ b/exporter/otlp/Appraisals @@ -4,7 +4,11 @@ # # SPDX-License-Identifier: Apache-2.0 -(19..23).each do |i| +appraise "google-protobuf-3.14" do + gem 'google-protobuf', "3.14" +end + +(16..23).each do |i| version = "3.#{i}" appraise "google-protobuf-#{version}" do gem 'google-protobuf', "~> #{version}" diff --git a/exporter/otlp/opentelemetry-exporter-otlp.gemspec b/exporter/otlp/opentelemetry-exporter-otlp.gemspec index 2afa7f0c5..e90c0e0bc 100644 --- a/exporter/otlp/opentelemetry-exporter-otlp.gemspec +++ b/exporter/otlp/opentelemetry-exporter-otlp.gemspec @@ -26,7 +26,7 @@ Gem::Specification.new do |spec| spec.required_ruby_version = '>= 3.0' spec.add_dependency 'googleapis-common-protos-types', '~> 1.3' - spec.add_dependency 'google-protobuf', '~> 3.19' + spec.add_dependency 'google-protobuf', '~> 3.14', '!= 3.15' spec.add_dependency 'opentelemetry-api', '~> 1.1' spec.add_dependency 'opentelemetry-common', '~> 0.20' spec.add_dependency 'opentelemetry-sdk', '~> 1.2'