Add version range in requirements for click package to avoid errors
tigitz opened this issue · 0 comments
tigitz commented
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
?