-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[Feature] [Spike+] scope the warning on tests directory to just the root package #9835
Comments
Closing this as a non-issue, I was misreading the warning and misinterpreted the problem. Can confirm now that I understand and updated accordingly, the warning is gone. We are not in fact bubbling up warnings from packages. |
@gwenwindflower are we sure about it? I'm updating to 1.8 and I'm getting the warning each single time. The only way I have to get rid of the warning is to manually update the config of the packages in the Please check the following example where:
Is there anything else outside of the warning being triggered from the packages I may be missing? |
@roman-segador any chance you were updating the directory name and/or |
@gwenwindflower not really. I did update everything in my project, so there is not a single Only place were only way to get rid of that warning is by replacing inside dbt_packages all |
@gwenwindflower I just verified this is happening when you run without partial parsing. It's actually the integration tests that get shipped with the package that are causing the deprecation warning. |
To expand on this further, the warning will disappear if dbt is able to do partial parsing -- since it skips over parsing the YAML in that case, it won't "see" the deprecated name... 🙈 🙉 🙉. You'll be able to get the warning back by adding the |
Is this your first time submitting a feature request?
Describe the feature
From slack thread
Anybody who has
dbt-utils
installed right now (or any other package withtests:
) is going to get this warning on every command and potentially Be ConfusedImagine you go into your project, change every
tests:
todata_tests:
and then still see that warning since you’re installing a package that’s using the deprecated functionality - ultimately that’s on the package maintainer to fix, not you.We should scope the warning on
tests:
->data_tests:
to just look at the root project.Acceptance Criteria
tests:
->data_tests:
warning should only be issued when usingtests:
configuration in the root projectThe text was updated successfully, but these errors were encountered: