We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f856b58 commit 0a412f6Copy full SHA for 0a412f6
setup.py
@@ -26,11 +26,12 @@ def _dbt_clickhouse_version():
26
description = '''The Clickhouse plugin for dbt (data build tool)'''
27
28
dbt_version = '1.2.1'
29
+dbt_minor = '.'.join(dbt_version.split('.')[0:2])
30
-if not package_version.startswith(dbt_version):
31
+if not package_version.startswith(dbt_minor):
32
raise ValueError(
33
f'Invalid setup.py: package_version={package_version} must start with '
- f'dbt_version={dbt_version}'
34
+ f'dbt_version={dbt_minor}'
35
)
36
37
@@ -54,7 +55,7 @@ def _dbt_clickhouse_version():
54
55
},
56
install_requires=[
57
f'dbt-core~={dbt_version}',
- 'clickhouse-connect>=0.2.7',
58
+ 'clickhouse-connect>=0.2.10',
59
'clickhouse-driver>=0.2.3',
60
],
61
python_requires=">=3.7",
0 commit comments