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

More informative error message when a package is not compatible with dbt's version #2652

Closed
LePeti opened this issue Jul 28, 2020 · 1 comment
Labels
duplicate This issue or pull request already exists enhancement New feature or request

Comments

@LePeti
Copy link

LePeti commented Jul 28, 2020

Describe the feature

I'm using dbt v0.16.0 and when I've added dbt_utils v0.5.0 and ran dbt deps I received the following error message:

Encountered an error:
Runtime Error
  Failed to read package at /home/rdeployer/app/dbt_modules/dbt_utils: Runtime Error
    at path []: Additional properties are not allowed (‘config-version’ was unexpected)

The error occurred because dbt_utils' dbt_project.yml uses config-version: 2 which isn't compatible with dbt v0.16.0.

I think an error message that clearly states that there is a version discrepancy would be helpful. Showing the version dependency on dbt Hub would also be helpful.

Who will this benefit?

Anyone using dependencies.

@LePeti LePeti added enhancement New feature or request triage labels Jul 28, 2020
@jtcohen6 jtcohen6 added duplicate This issue or pull request already exists and removed triage labels Jul 28, 2020
@jtcohen6
Copy link
Contributor

@LePeti This is a great suggestion! I'm going to close the issue only because it's a duplicate of #2638. I'd encourage you to comment there if you have any additional thoughts, or if this is a change you're interested inn contributing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants