diff --git a/setup.py b/setup.py index 76def09..c6c1115 100644 --- a/setup.py +++ b/setup.py @@ -39,8 +39,7 @@ packages=find_packages(), entry_points={"console_scripts": ["isic = isic_cli.cli:main"]}, install_requires=[ - # we use the path_type=Path feature from click which was added in Click 8 - "click>=8", + "click>=8.2.0", "django-s3-file-field-client>=1.0.0", # We expect girder-cli-oauth-client to drop oob support in the future "girder-cli-oauth-client<1.0.0", diff --git a/tests/test_cli_base.py b/tests/test_cli_base.py index 5aabda4..533151c 100644 --- a/tests/test_cli_base.py +++ b/tests/test_cli_base.py @@ -7,7 +7,7 @@ def test_base_command(cli_run): result = cli_run() - assert result.exit_code == 0 + assert result.exit_code == 2 assert "Usage: " in result.output # The output of isic with no args and isic with --help should be identical