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

Upgrade package dependency on dbt_utils to latest version #57

Open
laurits-inpay opened this issue Jun 24, 2024 · 2 comments
Open

Upgrade package dependency on dbt_utils to latest version #57

laurits-inpay opened this issue Jun 24, 2024 · 2 comments

Comments

@laurits-inpay
Copy link

dbt has made some updates to their syntax after the introduction of unit tests. That also required some changes in the dbt_utils package where a new version (1.2.0) was released recently. Snowflake utils has a hard-coded dependency of dbt_utils at version 1.1.1

Could that please be updated? I am also happy to create a PR for that.

@jnschurig
Copy link

jnschurig commented Sep 6, 2024

I have a question about this dependency on dbt_utils... Why is it even here? I looked through the source and it appears that the only usage of the package dbt_utils is for the log_info() function. Is there any reason to use this one over the native dbt log() function? I can confirm the native log() function has been included as part of dbt core as of at least 1.3 and onward (which is the minimum dbt version for this package anyway).

If there is no particular reason why the dbt_utils.log_info() function is still needed, I would suggest getting rid of the dbt_utils dependency altogether and end this versioning headache people have been having.

EDIT: Including a link to the dbt docs for the log() function.

@OM-M664003
Copy link

+1

update the version or make the required version in https://github.com/Montreal-Analytics/dbt-snowflake-utils/blob/0.6.3/packages.yml be more flexible and allow 1.1.0 or 1.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants