geoHeil
08/22/2022, 7:56 PMdbt deps
). This might be supported soon (https://dagster.slack.com/archives/C01U954MEER/p1660254343843889?thread_ts=1660240572.201999&cid=C01U954MEER). Currently, as a workaround I manually call RUN dbt deps
when creating my docker image for the repository. However, the pytest
unit tests now fail. As pytest is switching to a different path the dbt_sql/dbt_packages
directory no longer exists. As I am using the load_assets_from_dbt_project
(which is NOT calling dbt deps
) it fails. @claire, do you think you could somehow ensure that dbt deps
is called before running DBT even when working with pytest? For now, (until your new feature lands) what would you suggest as a workaround?Compilation Error dbt found 1 package(s) specified in packages.yml, but only 0 package(s) installed in dbt_packages. Run "dbt deps" to install package dependencies. Encountered an error:
dbt deps
before running pytest (also in the CI pipeline) is a workaround for now.Adam Bloom
08/22/2022, 8:58 PM