diff --git a/click-8.2.1-clirunner.patch b/click-8.2.1-clirunner.patch index 3663ded..1380cb5 100644 --- a/click-8.2.1-clirunner.patch +++ b/click-8.2.1-clirunner.patch @@ -1,4 +1,3 @@ - github.com/pallets/click/issues/2939 github.com/pallets/click/pull/2940 @@ -27,26 +26,10 @@ Restore previous implementation of a test broken by changes of 262bdf0. Fixes #2939. --- - CHANGES.rst | 5 +++++ src/click/testing.py | 17 ++++++++--------- tests/test_chain.py | 4 ++-- 3 files changed, 15 insertions(+), 11 deletions(-) -diff --git a/CHANGES.rst b/CHANGES.rst -index 1b8af9a5f..decdc2d91 100644 ---- a/CHANGES.rst -+++ b/CHANGES.rst -@@ -1,5 +1,10 @@ - .. currentmodule:: click - -+Version 8.2.2 -+------------- -+ -+- Fix regression related to EOF handling in CliRunner. :issue:`2939` -+ - Version 8.2.1 - ------------- - diff --git a/src/click/testing.py b/src/click/testing.py index 7c0e8741e..e57eacc5d 100644 --- a/src/click/testing.py diff --git a/click-8.2.1.tar.gz b/click-8.2.1.tar.gz deleted file mode 100644 index e5429d5..0000000 --- a/click-8.2.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:27c491cc05d968d271d5a1db13e3b5a184636d9d930f148c50b038f0d0646202 -size 286342 diff --git a/click-8.2.2.tar.gz b/click-8.2.2.tar.gz new file mode 100644 index 0000000..93d1c94 --- /dev/null +++ b/click-8.2.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:068616e6ef9705a07b6db727cb9c248f4eb9dae437a30239f56fa94b18b852ef +size 263977 diff --git a/python-click.changes b/python-click.changes index de41918..19029c8 100644 --- a/python-click.changes +++ b/python-click.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Mon Aug 4 11:28:56 UTC 2025 - Nico Krapp + +- Update to 8.2.2 + * Fix reconciliation of default, flag_value and type parameters for + flag options, as well as parsing and normalization of environment variables. + #2952 #2956 + * Fix typing issue in BadParameter and MissingParameter exceptions for the + parameter param_hint that did not allow for a sequence of string where the + underlying functino _join_param_hints allows for it. #2777 #2990 + * Use the value of Enum choices to render their default value in help + screen. #2911 #3004 + * Fix completion for the Z shell (zsh) for completion items containing + colons. #2703 #2846 + * Don't include envvar in error hint when not configured. #2971 #2972 + * Fix a rare race in click.testing.StreamMixer's finalization that manifested + as a ValueError on close in a multi-threaded test session. + #2993 #2991 +- drop upstream changelog entry from patch + ------------------------------------------------------------------- Tue Jun 8 15:09:58 UTC 2025 - Friedrich Haubensak diff --git a/python-click.spec b/python-click.spec index 0dfb2df..608a86a 100644 --- a/python-click.spec +++ b/python-click.spec @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-click -Version: 8.2.1 +Version: 8.2.2 Release: 0 Summary: A wrapper around optparse for command line utilities License: BSD-3-Clause