From 8c832630bb5dc76c59d30227fed91ad5384df57d Mon Sep 17 00:00:00 2001 From: Damian Owsianny Date: Fri, 5 Apr 2024 12:30:48 +0200 Subject: [PATCH] Add dbt-core as convenience dep --- .changes/unreleased/Dependencies-20240405-122927.yaml | 7 +++++++ dev_requirements.txt | 1 - setup.py | 6 ++++-- 3 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 .changes/unreleased/Dependencies-20240405-122927.yaml diff --git a/.changes/unreleased/Dependencies-20240405-122927.yaml b/.changes/unreleased/Dependencies-20240405-122927.yaml new file mode 100644 index 00000000..38c9948b --- /dev/null +++ b/.changes/unreleased/Dependencies-20240405-122927.yaml @@ -0,0 +1,7 @@ +kind: Dependencies +body: Add `dbt-core` as a dependency to preserve backwards compatibility for installation +time: 2024-04-05T12:29:27.647437+02:00 +custom: + Author: damian3031 + Issue: "387" + PR: "393" diff --git a/dev_requirements.txt b/dev_requirements.txt index 06551ea1..3af6541f 100644 --- a/dev_requirements.txt +++ b/dev_requirements.txt @@ -1,4 +1,3 @@ -dbt-core~=1.8.0b1 dbt-tests-adapter~=1.8.0b1 mypy==1.8.0 # patch updates have historically introduced breaking changes pre-commit~=3.6 diff --git a/setup.py b/setup.py index dcd564a3..e381f622 100644 --- a/setup.py +++ b/setup.py @@ -76,9 +76,11 @@ def _dbt_trino_version(): ] }, install_requires=[ - "dbt-common>=1.0.0b1,<2.0", - "dbt-adapters>=1.0.0b1,<2.0", + "dbt-common>=1.0.0,<2.0", + "dbt-adapters>=1.0.0,<2.0", "trino~=0.326", + # add dbt-core to ensure backwards compatibility of installation, this is not a functional dependency + "dbt-core>=1.8.0b2", ], zip_safe=False, classifiers=[