Skip to content

Commit

Permalink
hard pin to latest compatible version (#530)
Browse files Browse the repository at this point in the history
* hard pin to latest compatible version

* min ver for cname usage
https://github.com/aws/amazon-redshift-python-driver/blob/eb2776686037ff47f07fd30d4726323cc43b872c/redshift_connector/iam_helper.py#L118

* redshift specific

* Update setup.py
  • Loading branch information
dataders authored Jul 13, 2023
1 parent 92dbeb6 commit f8db43a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .changes/unreleased/Fixes-20230713-105351.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Fixes
body: hard pin dep on redshift_connector
time: 2023-07-13T10:53:51.463072-04:00
custom:
Author: dataders
Issue: 531 532
6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,10 @@ def _core_version(plugin_version: str = _plugin_version()) -> str:
install_requires=[
f"dbt-core~={_core_version()}",
f"dbt-postgres~={_core_version()}",
"boto3~=1.26.26",
"redshift-connector~=2.0.911",
"boto3~=1.26.157",
# 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.913",
# installed via dbt-core but referenced directly; don't pin to avoid version conflicts with dbt-core
"agate",
],
Expand Down

0 comments on commit f8db43a

Please sign in to comment.