From ef49a53bdd0f64939b0c2947a120d665595dec3e Mon Sep 17 00:00:00 2001 From: Dan LaManna Date: Sun, 11 May 2025 01:12:23 -0400 Subject: [PATCH] Support changes in click 8.2.0 --- setup.py | 3 +-- tests/test_cli_base.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) 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