File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -26,11 +26,12 @@ def _dbt_clickhouse_version():
26
26
description = '''The Clickhouse plugin for dbt (data build tool)'''
27
27
28
28
dbt_version = '1.2.1'
29
+ dbt_minor = '.' .join (dbt_version .split ('.' )[0 :2 ])
29
30
30
- if not package_version .startswith (dbt_version ):
31
+ if not package_version .startswith (dbt_minor ):
31
32
raise ValueError (
32
33
f'Invalid setup.py: package_version={ package_version } must start with '
33
- f'dbt_version={ dbt_version } '
34
+ f'dbt_version={ dbt_minor } '
34
35
)
35
36
36
37
@@ -54,7 +55,7 @@ def _dbt_clickhouse_version():
54
55
},
55
56
install_requires = [
56
57
f'dbt-core~={ dbt_version } ' ,
57
- 'clickhouse-connect>=0.2.7 ' ,
58
+ 'clickhouse-connect>=0.2.10 ' ,
58
59
'clickhouse-driver>=0.2.3' ,
59
60
],
60
61
python_requires = ">=3.7" ,
You can’t perform that action at this time.
0 commit comments