From e4d7fefee35956daa00d97a0508a9be9e0a9b48e Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Mon, 21 Oct 2024 13:14:42 -0500 Subject: [PATCH] pin internal dependencies with upper bounds --- core/setup.py | 4 ++-- dev-requirements.txt | 9 +++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/core/setup.py b/core/setup.py index d610ba6cd7f..cecc5748608 100644 --- a/core/setup.py +++ b/core/setup.py @@ -75,8 +75,8 @@ "minimal-snowplow-tracker>=0.0.2,<0.1", "dbt-semantic-interfaces>=0.5.1,<0.6", # Minor versions for these are expected to be backwards-compatible - "dbt-common>=1.0.4,<2.0", - "dbt-adapters>=1.1.1,<2.0", + "dbt-common>=1.0.4,<1.11.0", + "dbt-adapters>=1.1.1,<1.7.1", # ---- # Expect compatibility with all new versions of these packages, so lower bounds only. "packaging>20.9", diff --git a/dev-requirements.txt b/dev-requirements.txt index 41e61e22996..65a4c44bb2b 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1,7 +1,8 @@ -git+https://github.com/dbt-labs/dbt-adapters.git@main -git+https://github.com/dbt-labs/dbt-adapters.git@main#subdirectory=dbt-tests-adapter -git+https://github.com/dbt-labs/dbt-common.git@main -git+https://github.com/dbt-labs/dbt-postgres.git@main +# We hardcode these two dependencies to ensure that we are testing against the correct versions of +# released code to ensure we don't introduce any breaking changes +dbt-tests-adapter<=1.10.2 +dbt-postgres<=1.9.0 +# black>=24.3.0,<25.0 bumpversion ddtrace==2.3.0