From 6a97cf7226f6952a648ba6ec964ad67be0107a61edef49c17e33dcc60ed3b3ad Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Thu, 7 Aug 2025 11:42:35 +0000 Subject: [PATCH] Accepting request 1298127 from devel:languages:python Revert to 8.2.1, version 8.2.2 was yanked because Unintended change in behavior of boolean options and None https://pypi.org/project/click/8.2.2/ OBS-URL: https://build.opensuse.org/request/show/1298127 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click?expand=0&rev=61 --- click-8.2.1-clirunner.patch | 17 +++++++++++++++++ click-8.2.1.tar.gz | 3 +++ click-8.2.2.tar.gz | 3 --- python-click.changes | 20 -------------------- python-click.spec | 2 +- 5 files changed, 21 insertions(+), 24 deletions(-) create mode 100644 click-8.2.1.tar.gz delete mode 100644 click-8.2.2.tar.gz diff --git a/click-8.2.1-clirunner.patch b/click-8.2.1-clirunner.patch index 1380cb5..3663ded 100644 --- a/click-8.2.1-clirunner.patch +++ b/click-8.2.1-clirunner.patch @@ -1,3 +1,4 @@ + github.com/pallets/click/issues/2939 github.com/pallets/click/pull/2940 @@ -26,10 +27,26 @@ 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 new file mode 100644 index 0000000..e5429d5 --- /dev/null +++ b/click-8.2.1.tar.gz @@ -0,0 +1,3 @@ +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 deleted file mode 100644 index 93d1c94..0000000 --- a/click-8.2.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:068616e6ef9705a07b6db727cb9c248f4eb9dae437a30239f56fa94b18b852ef -size 263977 diff --git a/python-click.changes b/python-click.changes index 19029c8..de41918 100644 --- a/python-click.changes +++ b/python-click.changes @@ -1,23 +1,3 @@ -------------------------------------------------------------------- -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 608a86a..0dfb2df 100644 --- a/python-click.spec +++ b/python-click.spec @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-click -Version: 8.2.2 +Version: 8.2.1 Release: 0 Summary: A wrapper around optparse for command line utilities License: BSD-3-Clause