Skip to content

Incompatible with Click 7.0.0, should restrict dependency to <7.0.0Β #82

Closed

Description

@antaflos

It seems click 7.0.0 is quite incompatible with click 6.0.0 so it might be prudent to restrict the dependency on click to >=6.0.0 and <7.0.0.

Otherwise a fresh install of git-up will exhibit problems like this:

Traceback (most recent call last):
  File "/home/vagrant/.local/bin/git-up", line 11, in <module>
    sys.exit(run())
  File "/home/vagrant/.local/lib/python2.7/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/home/vagrant/.local/lib/python2.7/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/home/vagrant/.local/lib/python2.7/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/vagrant/.local/lib/python2.7/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
TypeError: run() takes exactly 4 arguments (3 given)

This is with click 7.0.0 as it is automatically installed by pip when installing git-up. Uninstalling it and installing click 6.0.0 makes git-up work again:

pip uninstall click
pip install click==6.0.0

Activity

  1. msiemens commented on Sep 28, 2018

    @msiemens
    Owner

    Thanks for the report! I've released a version which should fix this πŸ™ƒ

  2. added a commit that references this issue on Oct 7, 2026
    40a8a56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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