I am trying to install the packages I have listed in my packages.yml file.
But when I run dbt deps command nothing happens. Below is the content of my packages.yml
packages:
- package: dbt-labs/dbt_utils
version: 1.1.1
- package: calogica/dbt_expectations
version: [">=0.10.0", "<0.11.0"]
The context of why I’m trying to do this
I am currently running dbt within astro environment using Cosmos
What I’ve already tried
source /usr/local/airflow/dbt_venv/bin/activate
cd include/dbt
dbt deps
Some example code or error messages
The error I am getting on my airflow UI which I understand its due to the absent of dbt_utils package in my requirement
e[0m10:29:38 Unable to do partial parsing because saved manifest not found. Starting full parse.
e[0m10:29:40 Encountered an error:
Compilation Error in model onboarded_with_no_riders (models/marketing/onboarded_with_no_riders.sql)
'dict object' has no attribute 'current_timestamp'
Installed versions
dbt-core==1.8.6
dbt-postgres==1.8.2
Python 3.11.9
astro cli == 1.25.0