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

Official v1 upgrade #119

Merged
merged 7 commits into from
Dec 17, 2021
Merged

Official v1 upgrade #119

merged 7 commits into from
Dec 17, 2021

Conversation

jtcohen6
Copy link
Collaborator

@jtcohen6 jtcohen6 commented Dec 16, 2021

Description & motivation

  • Require dbt-core v1
  • Remove unneeded configs from dbt_project.yml to remove deprecation warnings
  • Remove dbt_utils dependency — this was only being used for logging niceties, which are redundant thanks to new logging in v1
  • Update integration tests

Checklist

  • I have verified that these changes work locally
  • I have updated the README.md (if applicable)
  • I have added an integration test for my fix/feature (if applicable)

Copy link
Collaborator

@dataders dataders left a comment

Choose a reason for hiding this comment

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

@jtcohen6 thanks for dropping the dep on dbt-utils! huge win to decouple them for sure especially for what was such a small dependency.

{% do dbt_utils.log_info(loop_label ~ ' SKIP') if run_queue == [] %}
{% set width = 80 %} {# hard code this for now, use PRINTER_WIDTH flag in v1.0+ #}
{% do log(loop_label ~ ' SKIP', info = true) if run_queue == [] %}
{% set width = flags.PRINTER_WIDTH %}

Choose a reason for hiding this comment

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

This is still causing bugs - why did you remove the hardcoding patch from v0.7.3?

Copy link
Contributor

Choose a reason for hiding this comment

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

@timbrownsf This version of the package is only for dbt version 1.0 and higher, and the issue was only for versions prior to 1.0 - are you using --no-version-check in your dbt command? you may want to switch back to 0.7.3 instead.

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

Successfully merging this pull request may close these issues.

4 participants