-
Notifications
You must be signed in to change notification settings - Fork 12
Description
Summary (enhancement)
I've left the title intentionally vague to avoid an XY problem 😄
I love this tool, and I've been using it liberally on several of the dbt projects that I work on! (I'm a consultant and work across several clients)
However, I recently ran the deprecations command on a dbt project which is still on dbt v1.9 (I know this goes EOL in under two weeks) and it happily changed all the tests to use the arguments attribute, even though that attribute does not exist in dbt v1.9
This is totally user error on my behalf, but it would be awesome if the CLI could identify that I was on an older version of dbt and do something different to not break the YAML
I'm thinking either:
- Warn me (and not run?) so that I know to update my dbt version first
- Only run fixes appropriate for the current dbt version (e.g. the
move_custom_configs_to_meta_sqlrefactor is fine for dbt v1.9)
Since v1.9 is going EOL very soon, I don't think (2) is worth the effort, but just mentioning it anyway in case there is interest in it 🤔
Would throwing a warning on EOL dbt versions be an appropriate behaviour for this tool?