-
-
Notifications
You must be signed in to change notification settings - Fork 63
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
Reason for including dbt_utils in packages? #52
Comments
Interestingly, I see that |
So, including packages that you're using within your own package (vs packages that provide shims for other packages like we used to do with spark-utils) was the recommendation from the folks at dbt-lab. The versioning issues should be minor if we're all using dbt hub, since any version/dependency issues should be resolved there? E.g. if two packages includes dbt-utils, dbt won't try to import twice if both are using dbt hub. |
(this package was nudged up in my head from your post in package-ecosystem over on slack - sorry for the slow response 😓) makes sense to me. The only thing that has been incredibly painful to deal with for my teams has been when we migrated from Closing this issue now. |
Sadly, using dbt hub doesn't solve any of this. It's not your problem to solve but it sure is annoying. I can't use this package because fivetran_utils 0.3.9 requires [">=0.8.0", "<0.9.0"] |
@tinomen Definitely, I hear you. Now that dbt-core contains a lot of the date functionality for which we used to rely on dbt-utils for, there's a path towards moving off this dependency. There's also downstream impact on dbt-expectations, but I'll think about some more how we can make this happen soon-ish. The only thing we use dbt-utils here these days is |
That would be amazing. Until I found a previous version to use. Thank you for the macros. |
FYI, a version without dependency on dbt-utils is now on the So, the plan is to:
|
Hello! James here from Conjura.
Not so much an issue and more a conversation point. I'm wondering what the reason is with including dbt_utils explicitly in the packages yaml is?
In my experience (this may have been resolved with dbt 1.0.0) DBT isn't the best at resolving requirements across packages. For example, I can see this method being brittle when trying to install other packages that have done the same, and could lead to a version collision error on a
dbt deps
.Was the reasoning just for ease of transparency of requirements?
The text was updated successfully, but these errors were encountered: