From 9f70e3944258d6c9cc94fbaf87321b75e2c60d6c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 2 Apr 2024 16:04:30 -0400 Subject: [PATCH] [Bug] Python driver 2.0.918 causes SSL error. Need to revert back to 2.0.917 (#731) (#753) * cap redshift-connector at 2.0.917 to avoid ssl issue in 2.0.918 * changie (cherry picked from commit f92ec4889a9faaaeb74a4b14da50c87ca65a0e89) Co-authored-by: Mike Alfare <13974384+mikealfare@users.noreply.github.com> --- .changes/unreleased/Fixes-20240317-113447.yaml | 6 ++++++ setup.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .changes/unreleased/Fixes-20240317-113447.yaml diff --git a/.changes/unreleased/Fixes-20240317-113447.yaml b/.changes/unreleased/Fixes-20240317-113447.yaml new file mode 100644 index 000000000..4338fc95b --- /dev/null +++ b/.changes/unreleased/Fixes-20240317-113447.yaml @@ -0,0 +1,6 @@ +kind: Fixes +body: Pin `redshift-connector` to <2.0.918 to avoid SSL error introduced in 2.0.918 +time: 2024-03-17T11:34:47.873169-04:00 +custom: + Author: mikealfare + Issue: "730" diff --git a/setup.py b/setup.py index 67c692f87..3f0b9fcbd 100644 --- a/setup.py +++ b/setup.py @@ -86,7 +86,7 @@ def _core_version(plugin_version: str = _plugin_version()) -> str: f"dbt-postgres~={_core_version()}", # 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.0.918,>=2.0.913,!=2.0.914", # installed via dbt-core but referenced directly; don't pin to avoid version conflicts with dbt-core "agate", ],