[CT-3396] [Bug] dbt deps --add-package
doesn't work when packages.yml contains warn-unpinned: false
#9104
Labels
backport 1.7.latest
bug
Something isn't working
Medium Severity
bug with minor impact that does not have resolution timeframe requirement
Milestone
Is this a new bug in dbt-core?
Current Behavior
As originally reported by @seub in #9076 (comment), the following exception is raised with an accompanying stack trace when
packages.yml
containswarn-unpinned: false
anddbt deps --add-package
is executed:Expected Behavior
The
--add-package
argument should execute without producing an exception and a stack trace.Steps To Reproduce
packages.yml
Running this will raise the exception:
Removing
warn-unpinned: false
and re-running the command works fine.Relevant log output
Environment
Which database adapter are you using with dbt?
snowflake
Additional Context
#9076 (comment)
The text was updated successfully, but these errors were encountered: