From ab9cff085aefff5787a2c9c7def8e71c9d3ed379 Mon Sep 17 00:00:00 2001 From: Kevin Deldycke Date: Fri, 3 Jan 2025 08:47:19 +0400 Subject: [PATCH] Fix 8.1.8 tests --- pyproject.toml | 5 +---- tests/test_parameters.py | 2 +- uv.lock | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 7cb131dfe..bd075830d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -67,10 +67,7 @@ dependencies = [ # Investigation of the root cause is being discussed upstream at: # https://github.com/mahmoud/boltons/issues/334 "boltons ~= 24.1.0", - # Click 8.1.4 fix @group.command calls with a custom command_class. See: - # https://github.com/pallets/click/issues/2416 - # https://github.com/pallets/click/pull/2417 - "click ~= 8.1.4", + "click ~= 8.1.8", # Cloup 3.0.5 fix incompatibility with autodoc: https://github.com/janluke/cloup/issues/177 "cloup ~= 3.0.5", "extra-platforms ~= 2.0.0", diff --git a/tests/test_parameters.py b/tests/test_parameters.py index f064b448d..032c9cffd 100644 --- a/tests/test_parameters.py +++ b/tests/test_parameters.py @@ -407,7 +407,7 @@ def show_params(): table = [ ( "show-params.help", - "click.core.Option", + "click.decorators.HelpOption", "--help", "click.types.BoolParamType", "bool", diff --git a/uv.lock b/uv.lock index a3d2f6446..5bf5ae8d2 100644 --- a/uv.lock +++ b/uv.lock @@ -196,7 +196,7 @@ typing = [ [package.metadata] requires-dist = [ { name = "boltons", specifier = "~=24.1.0" }, - { name = "click", specifier = "~=8.1.4" }, + { name = "click", specifier = "~=8.1.8" }, { name = "cloup", specifier = "~=3.0.5" }, { name = "coverage", extras = ["toml"], marker = "extra == 'test'", specifier = "~=7.6.0" }, { name = "extra-platforms", specifier = "~=2.0.0" },