-
Notifications
You must be signed in to change notification settings - Fork 60
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
Fix #624 by removing unnecessary boto3 version peg #674
Conversation
Thanks for your pull request, and welcome to our community! We require contributors to sign our Contributor License Agreement and we don't seem to have your signature on file. Check out this article for more information on why we have a CLA. In order for us to review and merge your code, please submit the Individual Contributor License Agreement form attached above above. If you have questions about the CLA, or if you believe you've received this message in error, please reach out through a comment on this PR. CLA has not been signed by users: @hexDoor |
CLA has now been signed. |
@cla-bot check |
The cla-bot has been summoned, and re-checked this pull request! |
@hexDoor Do you mind adding a changelog entry ( @dbt-labs/core-adapters How do folks feel about this? I would normally say to at least keep the dependency in the requirements, unpinned, if we use it directly. But given the limited usage and the fact that we're likely going to have |
I'm pretty anxious about unintended consequences here. Sure, we aren't using this directly but what about this being decided by other packages? Indeed, we've got failures here. We need to ensure this change is self-contained before moving forward. |
@VersusFacit Could I confirm what you mean by As for the test failure (
|
Having worked in this space for a few years now, I take absolutely nothing for granted as to the dependency management of Python packages. We've had a lot of incidents over the years where things move out from underneath us and break unceremoniously. Several version pins are there frankly to protect us at times. Hence, my desire for caution and verification. I'll give things a rerun just in case you're right. I'd love to remove dead code if this is indeed superfluous |
I see. I would love to avoid causing an incident myself (especially on the public stage) 😆
I don't think the Adapter Integration Test workflow got re-run as I can't see a new entry in the list 😞 |
Just to remove this from the discourse, this test is a known flaky test. It fails routinely, necessitating a re-run. It is on our backlog to look into and resolve. It is unrelated to this change. |
We talked about this internally a little bit. We feel comfortable with merging this PR. Before we do so though, can we get you to do one more commit? It'd be great to do the following. Transparently, it's to deal with flaky tests and to illuminate references to this package entirely where they are unneeded.
That will get us out of stale test hell and resolve this issue at once :D |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hooray, we're green. Thanks for doing us a solid @hexDoor and for being so responsive today ❤️
Happy to see this merged. I'm always a big fan of cleanup.
resolves #624
Problem
The
boto3
dependency is as of writing, pegged 7 major versions behind the latestboto3
release.The only context where
boto3
is referenced within thedbt-redshift
repository is within a unit test which raises the question on whether theboto3
version peg is even necessary since it is already a transitive dependency ofredshift-connector
.At the current time, this version peg frustrates compatibility of
dbt-redshift
with the latestawscli
,boto3
andbotocore
versions as well as other unrelated dbt plugins.Solution
Remove
boto3
as a direct dependency fordbt-redshift
Checklist