Skip to content

Unable to use package with dbt 0.21 #11

@colleen-love

Description

@colleen-love

When running dbt run with dbt version 0.21.0, the following error occurs:

$ dbt run
Running with dbt=0.21.0
Encountered an error:
Runtime Error
  Failed to read package: Runtime Error
    This version of dbt is not supported with the 'dbt_utils' package.
      Installed version of dbt: =0.21.0
      Required version of dbt for 'dbt_utils': ['>=0.20.0', '<0.21.0']
    Check the requirements for the 'dbt_utils' package, or run dbt again with --no-version-check

When running with $ dbt run --no-version-check any models that use postgres_utils (say, to create an index in the post-hook), fail.

The only dependency of this project (fishtown-analytics/dbt_utils) has been deprecated for another (dbt-labs/dbt_utils) - and it looks like that's what's causing this issue. My guess is that a version fix the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions