gouline / dbt-metabase

dbt + Metabase integration
https://pypi.org/project/dbt-metabase/
MIT License
442 stars 63 forks source link

Add version range in requirements for click package to avoid errors #136

Closed tigitz closed 1 year ago

tigitz commented 1 year ago

Hello,

I've tried to follow the usage and installation instructions but got the following error

File "/home/xxxx/.local/lib/python3.8/site-packages/dbtmetabase/__init__.py", line 99, in process_value
    and ctx.get_parameter_source(self.name)
AttributeError: 'Context' object has no attribute 'get_parameter_source'

I upgraded my local click package and it worked.

It upgraded from Click 7.0 to click 8.1.3

I'm a PHP developer with no experience in Python so my suggestion might be off but could the error be avoided if the project declared that it can only work with a specific version range of click package in the requirements.txt ?