Skip to content

Commit e9911aa

Browse files
authored
arrow: use version ranges for grpc, protobuf and re2 (#28730)
1 parent 7d81db7 commit e9911aa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

recipes/arrow/all/conanfile.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,10 @@ def _requires_rapidjson(self):
159159
def requirements(self):
160160
if self.options.with_thrift:
161161
self.requires("thrift/0.20.0")
162+
if self.options.with_grpc:
163+
self.requires("grpc/[>=1.50.0 <2]")
162164
if self.options.with_protobuf:
163-
self.requires("protobuf/3.21.12")
165+
self.requires("protobuf/[>=3.21.12 <7]")
164166
if self.options.with_jemalloc:
165167
self.requires("jemalloc/5.3.0")
166168
if self.options.with_mimalloc:
@@ -173,8 +175,6 @@ def requirements(self):
173175
self.requires("glog/0.6.0")
174176
if self.options.get_safe("with_gcs"):
175177
self.requires("google-cloud-cpp/1.40.1")
176-
if self.options.with_grpc:
177-
self.requires("grpc/1.50.0")
178178
if self._requires_rapidjson():
179179
self.requires("rapidjson/[>=cci.20230929]")
180180
if self.options.with_llvm:
@@ -204,7 +204,7 @@ def requirements(self):
204204
if self.options.with_zstd:
205205
self.requires("zstd/[>=1.5 <1.6]")
206206
if self.options.with_re2:
207-
self.requires("re2/20230301")
207+
self.requires("re2/[>=20230301]")
208208
if self.options.with_utf8proc:
209209
self.requires("utf8proc/2.8.0")
210210
if self.options.with_backtrace:

0 commit comments

Comments
 (0)