diff --git a/.changes/unreleased/Dependencies-20241021-131923.yaml b/.changes/unreleased/Dependencies-20241021-131923.yaml new file mode 100644 index 00000000000..8baf3fc3559 --- /dev/null +++ b/.changes/unreleased/Dependencies-20241021-131923.yaml @@ -0,0 +1,6 @@ +kind: Dependencies +body: Pin dbt-common and dbt-adapters with upper bound. +time: 2024-10-21T13:19:23.137466-05:00 +custom: + Author: emmyoop + Issue: "10895" 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