From 68803ae48614c9c45f5af06a9091f545c56142d6 Mon Sep 17 00:00:00 2001 From: Mike Alfare Date: Thu, 7 Nov 2024 22:44:14 -0500 Subject: [PATCH 1/2] remove dev branch dependencies from dev requirements --- dev-requirements.txt | 8 +------- setup.py | 2 +- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/dev-requirements.txt b/dev-requirements.txt index 6f4fd46ae..3d2a03353 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1,11 +1,5 @@ -# install latest changes in dbt-core -# TODO: how to automate switching from develop to version branches? -git+https://github.com/dbt-labs/dbt-core.git#egg=dbt-core&subdirectory=core -git+https://github.com/dbt-labs/dbt-adapters.git -git+https://github.com/dbt-labs/dbt-adapters.git#subdirectory=dbt-tests-adapter +dbt-tests-adapter>=1.8.0,<2.0 -# if version 1.x or greater -> pin to major version -# if version 0.x -> pin to minor black>=24.3 bumpversion~=0.6.0 click~=8.1 diff --git a/setup.py b/setup.py index f28af5d76..0b739d966 100644 --- a/setup.py +++ b/setup.py @@ -58,7 +58,7 @@ def _plugin_version() -> str: include_package_data=True, install_requires=[ "dbt-common>=1.0.4,<2.0", - "dbt-adapters>=1.1.1,<2.0", + "dbt-adapters>=1.1.1,<=1.8.0", "snowflake-connector-python[secure-local-storage]~=3.0", # add dbt-core to ensure backwards compatibility of installation, this is not a functional dependency "dbt-core>=1.8.0", From 457fe9b3fbcb0bd37b415360302a7decdeed981e Mon Sep 17 00:00:00 2001 From: Mike Alfare Date: Thu, 7 Nov 2024 22:49:19 -0500 Subject: [PATCH 2/2] fix pin on dbt-adapters to allow patches --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 0b739d966..846f45617 100644 --- a/setup.py +++ b/setup.py @@ -58,7 +58,7 @@ def _plugin_version() -> str: include_package_data=True, install_requires=[ "dbt-common>=1.0.4,<2.0", - "dbt-adapters>=1.1.1,<=1.8.0", + "dbt-adapters>=1.1.1,<1.9.0", "snowflake-connector-python[secure-local-storage]~=3.0", # add dbt-core to ensure backwards compatibility of installation, this is not a functional dependency "dbt-core>=1.8.0",