https://prefect.io logo
Title
m

Madison Schott

03/25/2022, 5:45 PM
Hi all, how do I upgrade to the latest version of dbt within my Prefect flow? I am running it on a Docker container
Running with dbt=0.20.0
10:10:25
INFO
DbtShellTask
Encountered an error while reading the project:
10:10:25
INFO
DbtShellTask
  ERROR: Runtime Error
10:10:25
INFO
DbtShellTask
  This version of dbt is not supported with the 'winc' package.
10:10:25
INFO
DbtShellTask
    Installed version of dbt: =0.20.0
10:10:25
INFO
DbtShellTask
    Required version of dbt for 'winc': ['>=1.0.0']
k

Kevin Kho

03/25/2022, 5:48 PM
You really intend to upgrade mid Flow rather than in the Docker container? What storage are you using? Because Docker storage can easily do this. But I guess you can do this inside a task
Note it won’t work for DaskExecutor
m

Madison Schott

03/25/2022, 5:50 PM
I'm using Docker storage
No I would like to upgrade in the Dcker container just not sure how
wait nvm
this was a dumb question lol
k

Kevin Kho

03/25/2022, 5:51 PM
All good 😆. you good now?
m

Madison Schott

03/25/2022, 5:52 PM
haha yes
thanks!
a

Anna Geller

03/25/2022, 5:54 PM
Welcome back, @Madison Schott!