upgrade click version
094459 opened this issue · 1 comments
094459 commented
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)
094459 commented
Resolved the issue by using a later version of click. Updated requirements.txt to click==8.1.2