Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin to 2.1.1 and below to fix the cursor error. #844

Merged
merged 4 commits into from
Jun 13, 2024

Conversation

VersusFacit
Copy link
Contributor

@VersusFacit VersusFacit commented Jun 11, 2024

Problem

We want to fold in the fix from this patched issue on redshift connector.

Solution

Up the pin. soft pinned since either patch version in 2.1 should work

Checklist

  • I have read the contributing guide and understand what's expected of me
  • I have run this code in development and it appears to resolve the stated issue
  • This PR includes tests, or tests are not required/relevant for this PR
  • This PR has no interface changes (e.g. macros, cli, logs, json artifacts, config files, adapter interface, etc) or this PR has already received feedback and approval from Product or DX

@VersusFacit VersusFacit self-assigned this Jun 11, 2024
@VersusFacit VersusFacit requested a review from a team as a code owner June 11, 2024 23:17
@cla-bot cla-bot bot added the cla:yes label Jun 11, 2024
Copy link
Contributor

Thank you for your pull request! We could not find a changelog entry for this change. For details on how to document a change, see the dbt-redshift contributing guide.

@VersusFacit VersusFacit mentioned this pull request Jun 11, 2024
4 tasks
Copy link
Contributor

Thank you for your pull request! We could not find a changelog entry for this change. For details on how to document a change, see the dbt-redshift contributing guide.

@VersusFacit VersusFacit added the Skip Changelog Skips GHA to check for changelog file label Jun 11, 2024
@@ -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,>=2.0.913,!=2.0.914",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason to pin less than a specific patch? I know we've been broken in the past, but if this package is indicating that they're going to start using minors, then I would think we pin to 2.1, not 2.1.x.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should follow up with them and see if that's actually what's happening here or if they just decided to do a minor version bump

Copy link
Contributor

@mikealfare mikealfare left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left a comment, but I'm fine with the PR either way.

@colin-rogers-dbt colin-rogers-dbt enabled auto-merge (squash) June 13, 2024 01:16
@colin-rogers-dbt colin-rogers-dbt merged commit a83553b into main Jun 13, 2024
27 checks passed
@colin-rogers-dbt colin-rogers-dbt deleted the pin_for_redshift_connector_204_fix branch June 13, 2024 02:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 1.8.latest cla:yes Skip Changelog Skips GHA to check for changelog file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants