Repository navigation
load_via_dbt_ls() requires dbt is installed in base airflow environment #670
Copy link
Copy link
Closed
Labels
area:dependenciesRelated to dependencies, like Python packages, library versions, etcRelated to dependencies, like Python packages, library versions, etcarea:executionRelated to the execution environment/mode, like Docker, Kubernetes, Local, VirtualEnv, etcRelated to the execution environment/mode, like Docker, Kubernetes, Local, VirtualEnv, etcdbt:listPrimarily related to dbt list command or functionalityPrimarily related to dbt list command or functionalityexecution:virtualenvRelated to Virtualenv execution environmentRelated to Virtualenv execution environmentparsing:dbt_lsIssues, questions, or features related to dbt_ls parsingIssues, questions, or features related to dbt_ls parsingpriority:highHigh priority issues are blocking or critical issues without a workaround and large impactHigh priority issues are blocking or critical issues without a workaround and large impact
Description
Activity
Metadata
Metadata
Assignees
Labels
area:dependenciesRelated to dependencies, like Python packages, library versions, etcRelated to dependencies, like Python packages, library versions, etcarea:executionRelated to the execution environment/mode, like Docker, Kubernetes, Local, VirtualEnv, etcRelated to the execution environment/mode, like Docker, Kubernetes, Local, VirtualEnv, etcdbt:listPrimarily related to dbt list command or functionalityPrimarily related to dbt list command or functionalityexecution:virtualenvRelated to Virtualenv execution environmentRelated to Virtualenv execution environmentparsing:dbt_lsIssues, questions, or features related to dbt_ls parsingIssues, questions, or features related to dbt_ls parsingpriority:highHigh priority issues are blocking or critical issues without a workaround and large impactHigh priority issues are blocking or critical issues without a workaround and large impact
Apologies if I'm misunderstanding anything here, we're big fans of Cosmos at Quizlet.
In version 1.2.2, we are seeing this error when using
LoadMode.DBT_LS:If we add dbt to our default airflow environment, the dag works as expected.
It is required to install dbt outside of the venv described in the docs?
This code seems to be checking for dbt in the airflow environment:
astronomer-cosmos/cosmos/dbt/graph.py
Lines 232 to 233 in 6e41471