Skip to content

install-prerelease (packages, dependencies) is not a valid property #191

@pierrand

Description

@pierrand

Using the install-prerelease property in packages.yml and dependencies.yml results in a runtime error during dbt deps execution.

Example packages.yml:

packages:
  - package: dbt-labs/dbt_utils
    version: ">=1.0.0"
    install-prerelease: true

Error message:

Runtime Error
  The packages.yml file in this project is malformed. Please double check
  the contents of this file and fix any errors before retrying.
 
  You can find more information on the syntax for this file here:
  https://docs.getdbt.com/docs/package-management
 
  Validator Error:
  {'package': 'dbt-labs/dbt_utils', 'version': '>=1.0.0', 'install-prerelease': True, 'unrendered': {...}} is not valid under any of the given schemas

According to the documentation, the correct property name is install_prerelease

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions