File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
Expand file tree Collapse file tree 2 files changed +5
-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 @@ -76,6 +76,7 @@ dev = [
7676 " google-cloud-bigquery-storage" ,
7777 " httpx" ,
7878 " mypy~=1.13.0" ,
79+ " numpy" ,
7980 " pandas-stubs" ,
8081 " pre-commit" ,
8182 " psycopg2-binary" ,
You can’t perform that action at this time.
0 commit comments