WillianFuks / dbt-flow

Integration tests for dbt
MIT License
12 stars 2 forks source link

Upgrade the DBT version please #5

Open chandra123bm opened 6 months ago

chandra123bm commented 6 months ago

Error :This version of dbt is not supported with the 'dbt_flow' package. Installed version of dbt: =1.7.10 Required version of dbt for 'dbt_flow': ['>=1.5.0', '<1.6.0'] Check for a different version of the 'dbt_flow' package, or run

WillianFuks commented 6 months ago

Hi @chandra123bm ,

Oddly enough the package dbt-labs/metrics only supports up to dbt==1.6.0, which means that adding support for dbt==1.7.x on dbt-flow would require to add support to an entire new framework of the Metric nodes.

This is the only block that I can see that prevents us from updating the version. I'm thinking on ways to easily circumvent this but couldn't think of anything adequate so far (I'm open to ideas, if someone in the community would like to chime in that'd be welcome!)

If you are not using any metric node it may be possible to fork dbt-flow and make the changes in your upstream and then reference it in your project's packages. It's somewhat clumsy but would still work -- but wouldn't support metrics as is.