File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,10 @@ install-dev-dbt-%:
4141 echo " Applying version $$ version to all dbt packages" ; \
4242 $(SED_INPLACE ) -E ' s/"(dbt-[^"><=~!]+)[^"]*"/"\1~=' " $$ version" ' "/g' pyproject.toml; \
4343 fi ; \
44+ if printf ' %s\n' " $$ version" | awk -F. ' { if ($$1 == 1 && $$2 >= 3 && $$2 <= 5) exit 0; exit 1 }' ; then \
45+ echo " Applying numpy<2 constraint for dbt $$ version" ; \
46+ $(SED_INPLACE ) ' s/"numpy"/"numpy<2"/g' pyproject.toml; \
47+ fi ; \
4448 $(MAKE ) install-dev; \
4549 if [ " $$ version" = " 1.6.0" ]; then \
4650 echo " Applying overrides for dbt 1.6.0" ; \
Original file line number Diff line number Diff line change @@ -57,6 +57,8 @@ dev = [
5757 " beautifulsoup4" ,
5858 " clickhouse-connect" ,
5959 " cryptography<46.0.0" ,
60+ # `0.66.0` release contains a breaking change for dbt-databricks
61+ " databricks-sdk<0.66.0" ,
6062 " databricks-sql-connector" ,
6163 " dbt-bigquery" ,
6264 " dbt-core" ,
@@ -76,6 +78,7 @@ dev = [
7678 " google-cloud-bigquery-storage" ,
7779 " httpx" ,
7880 " mypy~=1.13.0" ,
81+ " numpy" ,
7982 " pandas-stubs" ,
8083 " pre-commit" ,
8184 " psycopg2-binary" ,
You can’t perform that action at this time.
0 commit comments