From a030df73c7277c30d5367854dd7f50b146d9cf37 Mon Sep 17 00:00:00 2001 From: Mike Alfare <13974384+mikealfare@users.noreply.github.com> Date: Wed, 23 Oct 2024 12:48:58 -0400 Subject: [PATCH] pin build dependencies to final releases (#939) --- .changes/unreleased/Fixes-20241023-104556.yaml | 6 ++++++ setup.py | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 .changes/unreleased/Fixes-20241023-104556.yaml diff --git a/.changes/unreleased/Fixes-20241023-104556.yaml b/.changes/unreleased/Fixes-20241023-104556.yaml new file mode 100644 index 00000000..4999d4a0 --- /dev/null +++ b/.changes/unreleased/Fixes-20241023-104556.yaml @@ -0,0 +1,6 @@ +kind: Fixes +body: Pin build dependencies to final releases +time: 2024-10-23T10:45:56.816922-04:00 +custom: + Author: mikealfare + Issue: "930" diff --git a/setup.py b/setup.py index 99df6b5e..65aeeaaf 100644 --- a/setup.py +++ b/setup.py @@ -59,14 +59,14 @@ def _plugin_version_trim() -> str: packages=find_namespace_packages(include=["dbt", "dbt.*"]), include_package_data=True, install_requires=[ - "dbt-common>=0.1.0a1,<2.0", - "dbt-adapters>=0.1.0a1,<2.0", + "dbt-common>=0.1.0,<2.0", + "dbt-adapters>=0.1.0,<2.0", f"dbt-postgres~={_plugin_version_trim()}", # dbt-redshift depends deeply on this package. it does not follow SemVer, therefore there have been breaking changes in previous patch releases # Pin to the patch or minor version, and bump in each new minor version of dbt-redshift. "redshift-connector<2.0.918,>=2.0.913,!=2.0.914", # add dbt-core to ensure backwards compatibility of installation, this is not a functional dependency - "dbt-core>=1.8.0b3", + "dbt-core>=1.8.0", # installed via dbt-core but referenced directly; don't pin to avoid version conflicts with dbt-core "sqlparse>=0.5.0,<0.6.0", "agate",