From e154d3ea9898ad2f958474dda54efb5e899bb971 Mon Sep 17 00:00:00 2001 From: Mila Page Date: Tue, 11 Jun 2024 16:14:25 -0700 Subject: [PATCH 1/3] Pin to 2.1.1 and below to fix the cursor error. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index dbb3913b9..873661cd5 100644 --- a/setup.py +++ b/setup.py @@ -64,7 +64,7 @@ def _plugin_version_trim() -> str: 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", + "redshift-connector<=2.1.1", # add dbt-core to ensure backwards compatibility of installation, this is not a functional dependency "dbt-core>=1.8.0b3", # installed via dbt-core but referenced directly; don't pin to avoid version conflicts with dbt-core From 9fe7f0b8ae57240aec0ef44120ad33d133d80801 Mon Sep 17 00:00:00 2001 From: Colin Rogers <111200756+colin-rogers-dbt@users.noreply.github.com> Date: Wed, 12 Jun 2024 13:16:21 -0700 Subject: [PATCH 2/3] Update setup.py --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 873661cd5..c2649e66a 100644 --- a/setup.py +++ b/setup.py @@ -64,7 +64,7 @@ def _plugin_version_trim() -> str: 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.1.1", + "redshift-connector<2.1.1,>=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", # installed via dbt-core but referenced directly; don't pin to avoid version conflicts with dbt-core From f7be9c34a911fb951c11cc978bf546ad4e20d990 Mon Sep 17 00:00:00 2001 From: Colin Date: Wed, 12 Jun 2024 13:18:06 -0700 Subject: [PATCH 3/3] add changie --- .changes/unreleased/Fixes-20240612-131752.yaml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .changes/unreleased/Fixes-20240612-131752.yaml diff --git a/.changes/unreleased/Fixes-20240612-131752.yaml b/.changes/unreleased/Fixes-20240612-131752.yaml new file mode 100644 index 000000000..36ea4d922 --- /dev/null +++ b/.changes/unreleased/Fixes-20240612-131752.yaml @@ -0,0 +1,6 @@ +kind: Fixes +body: update pin range for redshift-connector to allow 2.1.0 +time: 2024-06-12T13:17:52.460407-07:00 +custom: + Author: colin-rogers-dbt VersusFacit + Issue: "844"