Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CT-2726] Fix error message when installing packages from dependencies.yml #7921

Closed
MichelleArk opened this issue Jun 22, 2023 · 0 comments · Fixed by #7886
Closed

[CT-2726] Fix error message when installing packages from dependencies.yml #7921

MichelleArk opened this issue Jun 22, 2023 · 0 comments · Fixed by #7886
Assignees
Labels
multi_project packages Functionality for interacting with installed packages

Comments

@MichelleArk
Copy link
Contributor

Currently, UninstalledPackagesFoundError's message is hard-coded to indicate packages are specified from packages.yml, even though they can be optionally be specified in dependencies.yml instead.

With uninstalled package under packages in dependencies.yml:

❯ dbt ls
14:55:05  Running with dbt=1.6.0-b4
14:55:05  target not specified in profile 'postgres', using 'default'
14:55:05  Registered adapter: postgres=1.6.0-b4
14:55:05  Encountered an error:
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.
@MichelleArk MichelleArk added packages Functionality for interacting with installed packages multi_project labels Jun 22, 2023
@MichelleArk MichelleArk self-assigned this Jun 22, 2023
@github-actions github-actions bot changed the title Fix error message when installing packages from dependencies.yml [CT-2726] Fix error message when installing packages from dependencies.yml Jun 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
multi_project packages Functionality for interacting with installed packages
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant