-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[Bug] Duplicate dependency specifications means prod and dev version of protobuf might differ #9830
Comments
Hi, thank you for opening this issue! We've already merged backports into 1.5.latest and 1.6.latest to fix this 🙂 We're doing patch releases for 1.5 and 1.6 today which will make the fix available via pypi |
Thanks again for your help alerting about this issue and identifying the fix @niteshy 🏆 I'm going to close this issue since it is addressed in the following PRs: |
@dbeatty10 & @niteshy I think we should actually re-open this, but slimmed down and re-titled to focus on
The title could be altered to And the description should be something along the lines of
|
* Removing unwanted dev dependency * updating change log * Remove duplicate dependency of protobuf in dev-requirements to resolve #9830 --------- Co-authored-by: Doug Beatty <44704949+dbeatty10@users.noreply.github.com>
Is this a new bug in dbt-core?
Current Behavior
community Slack #adapter-ecosystem thread
As a part of #9630 PR, we restricted the protobuf to 4.x versions but the manual backport on v1.5 (#9676) & v1.6 (#9675) branches were incorrect because the restriction is only applied to dev-requirements rather than at the setup.py. As we can see in v1.5.10 and v1.6.10 This resulted in breaking the downstream adapters compatibilities as they started including protobuf > 5.x which is not compatible with dbt-core. It doesn't surface in dbt-core tests because dev-requirements always ensure that protobuf 4.x is installed.
Eg for errors happen in adapters
Another concern, we should not have duplicate dependencies listed in setup.py and dev-requirements.txt because these manual mistakes can happen again in the future.
Expected Behavior
All the downstream adapters in v1.5.10 & v1.6.10 should be using the protobuf 4.x versions to avoid the above errors.
Steps To Reproduce
Relevant log output
No response
Environment
Which database adapter are you using with dbt?
other (mention it in "Additional Context")
Additional Context
No response
The text was updated successfully, but these errors were encountered: