Skip to content

Commit

Permalink
feat(dbt): support dbt-core==1.7.* (#17415)
Browse files Browse the repository at this point in the history
## Summary & Motivation
See what breaks, and add compatibility for it.

## How I Tested These Changes
bk
  • Loading branch information
rexledesma authored Nov 8, 2023
1 parent 4648a5a commit 458a145
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -448,10 +448,12 @@ def k8s_extra_cmds(version: str, _) -> List[str]:
"dbt_14X_legacy",
"dbt_15X_legacy",
"dbt_16X_legacy",
"dbt_17X_legacy",
"dbt_13X",
"dbt_14X",
"dbt_15X",
"dbt_16X",
"dbt_17X",
"dbt_14X_pydantic1",
"dbt_14X_legacy_pydantic1",
],
Expand Down
2 changes: 1 addition & 1 deletion python_modules/libraries/dagster-dbt/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def get_version() -> str:
install_requires=[
f"dagster{pin}",
# Follow the version support constraints for dbt Core: https://docs.getdbt.com/docs/dbt-versions/core
"dbt-core<1.7",
"dbt-core<1.8",
"Jinja2",
"networkx",
"orjson",
Expand Down
4 changes: 4 additions & 0 deletions python_modules/libraries/dagster-dbt/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ deps =
dbt_15X: dbt-duckdb==1.5.*
dbt_16X: dbt-core==1.6.*
dbt_16X: dbt-duckdb==1.6.*
dbt_17X: dbt-core==1.7.*
dbt_17X: dbt-duckdb==1.7.*
dbt_14X_pydantic1: pydantic!=1.10.7,<2.0.0
dbt_14X_legacy_pydantic1: pydantic!=1.10.7,<2.0.0
-e .[test]
Expand All @@ -28,9 +30,11 @@ commands =
dbt_14X_legacy: pytest --reruns 2 --durations 10 -c ../../../pyproject.toml -m "legacy" -vv {posargs}
dbt_15X_legacy: pytest --reruns 2 --durations 10 -c ../../../pyproject.toml -m "legacy" -vv {posargs}
dbt_16X_legacy: pytest --reruns 2 --durations 10 -c ../../../pyproject.toml -m "legacy" -vv {posargs}
dbt_17X_legacy: pytest --reruns 2 --durations 10 -c ../../../pyproject.toml -m "legacy" -vv {posargs}
dbt_13X: pytest --reruns 2 --durations 10 -c ../../../pyproject.toml -m "not legacy" -vv {posargs}
dbt_14X: pytest --reruns 2 --durations 10 -c ../../../pyproject.toml -m "not legacy" -vv {posargs}
dbt_15X: pytest --reruns 2 --durations 10 -c ../../../pyproject.toml -m "not legacy" -vv {posargs}
dbt_16X: pytest --reruns 2 --durations 10 -c ../../../pyproject.toml -m "not legacy" -vv {posargs}
dbt_17X: pytest --reruns 2 --durations 10 -c ../../../pyproject.toml -m "not legacy" -vv {posargs}
dbt_14X_pydantic1: pytest --reruns 2 --durations 10 -c ../../../pyproject.toml -m "not legacy" -vv {posargs}
dbt_14X_legacy_pydantic1: pytest --reruns 2 --durations 10 -c ../../../pyproject.toml -m "legacy" -vv {posargs}

0 comments on commit 458a145

Please sign in to comment.