You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and since there's a known issue with click<7.1 (#254) , adding a click>=7.1 in requirements.txt would be great.
The following is a real case scenario in which it would come in handy:
on a centos8/rocky8 server:
$ python3 -mvenv --system-site-packages env
$ env/bin/pip install rasterstats
# ... various logs ...
$ env/bin/python -c "import rasterstats"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/autofs/nfshomes/dbranchini/buttami/env/lib64/python3.6/site-packages/rasterstats/__init__.py", line 4, in <module>
from rasterstats import cli
File "/autofs/nfshomes/dbranchini/buttami/env/lib64/python3.6/site-packages/rasterstats/cli.py", line 28, in <module>
@cligj.use_rs_opt
File "/usr/lib/python3.6/site-packages/click/decorators.py", line 170, in decorator
_param_memo(f, OptionClass(param_decls, **attrs))
File "/usr/lib/python3.6/site-packages/click/core.py", line 1510, in __init__
raise TypeError('Got secondary option for non boolean flag.')
TypeError: Got secondary option for non boolean flag.
(then after some googling I saw #254 and forced the update of click)
The text was updated successfully, but these errors were encountered:
Hi,
this is more a proposal than a bug report.
Since python-rasterstats directly imports
click
:python-rasterstats/src/rasterstats/cli.py
Line 6 in 5da3110
and since there's a known issue with click<7.1 (#254) , adding a
click>=7.1
inrequirements.txt
would be great.The following is a real case scenario in which it would come in handy:
on a centos8/rocky8 server:
(then after some googling I saw #254 and forced the update of
click
)The text was updated successfully, but these errors were encountered: