garystafford/tickit-data-lake-demo

upgrade click version

094459 opened this issue · 1 comments

When running the run_local script, got the following error:

~/Projects/airflow/cicd/devopsworld-airflow/demos/demo-02-localdev/git-precommit-demo
\n⌛ Starting SQLFluff tests...
~/Projects/airflow/cicd/devopsworld-airflow/demos/demo-02-localdev/git-precommit-demo/dags ~/Projects/airflow/cicd/devopsworld-airflow/demos/demo-02-localdev/git-precommit-demo
Traceback (most recent call last):
..
..
    from .core import ParameterSource
ImportError: cannot import name 'ParameterSource' from 'click.core' (/Users/ricsue/opt/anaconda3/lib/python3.8/site-packages/click/core.py)

Resolved the issue by using a later version of click. Updated requirements.txt to click==8.1.2