Skip to content

Commit d5dcd93

Browse files
committed
feat conan: disable Clikhouse usage by default
Tests: протестировано CI commit_hash:b323578ee09a75b23010d421f04038a07f936e5c
1 parent 03276ef commit d5dcd93

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

conanfile.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class UserverConan(ConanFile):
6060
'with_redis': True,
6161
'with_redis_tls': True,
6262
'with_grpc': True,
63-
'with_clickhouse': True,
63+
'with_clickhouse': False, # TODO: set to True after clickhouse-cpp >= 2.6 appears in Conan Center
6464
'with_rabbitmq': True,
6565
'with_utest': True,
6666
'with_kafka': True,
@@ -160,6 +160,9 @@ def requirements(self):
160160
if self.options.with_rabbitmq:
161161
self.requires('amqp-cpp/[^4.3]')
162162
if self.options.with_clickhouse:
163+
# Some C++ Standard libraries require the following fix
164+
# https://github.com/ClickHouse/clickhouse-cpp/commit/2ac94d0d5d425cd70a0a8f4f91c4ed57369b72b9
165+
# self.requires('clickhouse-cpp/[>=2.6.0 <3]')
163166
self.requires('clickhouse-cpp/[>=2.5.1 <3]')
164167
if self.options.with_utest:
165168
self.requires(

0 commit comments

Comments
 (0)