diff --git a/CHANGELOG.md b/CHANGELOG.md index f683677de9b..3d2fceaf0de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,10 +4,14 @@ ### Fixes - Fix bug causing empty node level meta, snapshot config errors ([#4459](https://github.com/dbt-labs/dbt-core/issues/4459), [#4726](https://github.com/dbt-labs/dbt-core/pull/4726)) - Fixed a bug where nodes that depend on multiple macros couldn't be selected using `-s state:modified` ([#4678](https://github.com/dbt-labs/dbt-core/issues/4678)) +- Support click versions in the v7.x series ([#4681](https://github.com/dbt-labs/dbt-core/pull/4681)) ### Docs - Resolve errors related to operations preventing DAG from generating in the docs. Also patch a spark issue to allow search to filter accurately past the missing columns. ([#4578](https://github.com/dbt-labs/dbt-core/issues/4578), [#4763](https://github.com/dbt-labs/dbt-core/pull/4763)) +Contributors: +* [@twilly](https://github.com/twilly) ([#4681](https://github.com/dbt-labs/dbt-core/pull/4681)) + ## dbt-core 1.0.3 (February 21, 2022) ### Fixes diff --git a/core/dbt/task/init.py b/core/dbt/task/init.py index 1f1d0daa182..e164917c40f 100644 --- a/core/dbt/task/init.py +++ b/core/dbt/task/init.py @@ -50,7 +50,8 @@ Happy modeling! """ -# https://click.palletsprojects.com/en/8.0.x/api/?highlight=float#types +# https://click.palletsprojects.com/en/8.0.x/api/#types +# click v7.0 has UNPROCESSED, STRING, INT, FLOAT, BOOL, and UUID available. click_type_mapping = { "string": click.STRING, "int": click.INT, diff --git a/core/setup.py b/core/setup.py index ccf285a3459..df4de887a71 100644 --- a/core/setup.py +++ b/core/setup.py @@ -54,7 +54,7 @@ 'Jinja2==2.11.3', 'MarkupSafe==2.0.1', 'agate>=1.6,<1.6.4', - 'click>=8,<9', + 'click>=7.0,<9', 'colorama>=0.3.9,<0.4.5', 'hologram==0.0.14', 'isodate>=0.6,<0.7',