Skip to content

Not working with click 7.0.* #3

@hille721

Description

@hille721

bits3 command is not worlink if click 7.0* is installed:

$ bits3 --help
Traceback (most recent call last):
  File "/home/hille/gitrepos/bits3/.venv/bin/bits3", line 11, in <module>
    load_entry_point('bits3', 'console_scripts', 'bits3')()
  File "/home/hille/gitrepos/bits3/.venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/home/hille/gitrepos/bits3/.venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2852, in load_entry_point
    return ep.load()
  File "/home/hille/gitrepos/bits3/.venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2443, in load
    return self.resolve()
  File "/home/hille/gitrepos/bits3/.venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2449, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/home/hille/gitrepos/bits3/src/bits3/cli.py", line 26, in <module>
    def cli(backupdir, bucket, secret, uploadintervall,
  File "/home/hille/gitrepos/bits3/.venv/lib/python3.8/site-packages/click/decorators.py", line 173, in decorator
    _param_memo(f, OptionClass(param_decls, **option_attrs))
  File "/home/hille/gitrepos/bits3/.venv/lib/python3.8/site-packages/click/core.py", line 1601, in __init__
    raise TypeError('Got secondary option for non boolean flag.')
TypeError: Got secondary option for non boolean flag.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions