Skip to content

Commit

Permalink
Relax click dependency. (#302)
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov authored and Mariatta committed Jan 13, 2019
1 parent 7716b38 commit bff4148
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions cherry_picker/cherry_picker/cherry_picker.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,11 +381,11 @@ def check_repo(self):
help=("Path to config file, .cherry_picker.toml "
"from project root by default"),
default=None)
@click.argument('commit_sha1', 'The commit sha1 to be cherry-picked', nargs=1,
default = "")
@click.argument('branches', 'The branches to backport to', nargs=-1)
@click.argument('commit_sha1', nargs=1, default="")
@click.argument('branches', nargs=-1)
def cherry_pick_cli(dry_run, pr_remote, abort, status, push, config_path,
commit_sha1, branches):
"""cherry-pick COMMIT_SHA1 into target BRANCHES."""

click.echo("\U0001F40D \U0001F352 \u26CF")

Expand Down
2 changes: 1 addition & 1 deletion cherry_picker/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ author-email = "mariatta.wijaya@gmail.com"
maintainer = "Python Core Developers"
maintainer-email = "core-workflow@python.org"
home-page = "https://github.com/python/core-workflow/tree/master/cherry_picker"
requires = ["click~=6.7", "gidgethub", "requests", "toml"]
requires = ["click>=6.0", "gidgethub", "requests", "toml"]
dev-requires = ["pytest~=3.0.7"]
description-file = "readme.rst"
classifiers = ["Programming Language :: Python :: 3.6", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License"]
Expand Down

0 comments on commit bff4148

Please sign in to comment.