Skip to content

Commit

Permalink
task init: support older click v7.0 (#4681)
Browse files Browse the repository at this point in the history
* task init: support older click v7.0

`dbt init` uses click for interactively setting up a project. The
version constraints currently ask for click >= 8 but v7.0 has nearly the
same prompt/confirm/echo API. prompt added a feature that isn't used.
confirm has a behavior change if the default is None, but
confirm(..., default=None) is not used. Long story short, we can relax
the version constraint to allow installing with an older click library.

Ref: Issue #4566

* Update CHANGELOG.md

Co-authored-by: Chenyu Li <[email protected]>

Co-authored-by: Chenyu Li <[email protected]>

automatic commit by git-black, original commits:
  72ecd1c
  • Loading branch information
twilly authored and iknox-fa committed Feb 8, 2022
1 parent 37c1f13 commit e794eea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
install_requires=[
"Jinja2==2.11.3",
"agate>=1.6,<1.6.4",
'click>=7.0,<9',
"click>=7.0,<9",
'colorama>=0.3.9,<0.4.5',
'hologram==0.0.14',
'isodate>=0.6,<0.7',
Expand Down

0 comments on commit e794eea

Please sign in to comment.