Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-consolekit for 
openSUSE:Factory checked in at 2026-06-17 16:17:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-consolekit (Old)
 and      /work/SRC/openSUSE:Factory/.python-consolekit.new.1981 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-consolekit"

Wed Jun 17 16:17:28 2026 rev:7 rq:1360012 version:1.13.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-consolekit/python-consolekit.changes      
2026-03-27 06:47:45.069629993 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-consolekit.new.1981/python-consolekit.changes
    2026-06-17 16:18:10.766712310 +0200
@@ -1,0 +2,6 @@
+Wed Jun 17 10:36:21 UTC 2026 - Daniel Garcia <[email protected]>
+
+- Add upstream patch click-8.4.0.patch, to fix tests with click >=
+  8.4.0: gh#domdfcoding/consolekit#133
+
+-------------------------------------------------------------------

New:
----
  click-8.4.0.patch

----------(New B)----------
  New:
- Add upstream patch click-8.4.0.patch, to fix tests with click >=
  8.4.0: gh#domdfcoding/consolekit#133
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-consolekit.spec ++++++
--- /var/tmp/diff_new_pack.bL8AIv/_old  2026-06-17 16:18:14.426865454 +0200
+++ /var/tmp/diff_new_pack.bL8AIv/_new  2026-06-17 16:18:14.442866124 +0200
@@ -32,6 +32,8 @@
 License:        MIT
 URL:            https://github.com/domdfcoding/consolekit
 Source:         
https://github.com/domdfcoding/consolekit/archive/refs/tags/v%{version}.tar.gz#/consolekit-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM click-8.4.0.patch gh#domdfcoding/consolekit#133
+Patch0:         click-8.4.0.patch
 BuildRequires:  %{python_module flit-core >= 3.2}
 BuildRequires:  %{python_module pip}
 BuildRequires:  python-rpm-macros

++++++ click-8.4.0.patch ++++++
diff --git a/tests/test_commands.py b/tests/test_commands.py
index a5a1660..516c337 100644
--- a/tests/test_commands.py
+++ b/tests/test_commands.py
@@ -14,7 +14,7 @@
 from consolekit import CONTEXT_SETTINGS, click_command, click_group
 from consolekit.options import colour_option
 from consolekit.terminal_colours import ColourTrilean
-from consolekit.testing import CliRunner
+from consolekit.testing import CliRunner, click_version
 
 
 @pytest.fixture()
@@ -294,9 +294,23 @@ def test_markdown_help_group_no_args_is_help(
        assert result.exit_code == 0
 
 
[email protected](
+               "click_version",
+               [
+                               pytest.param(
+                                               "pre_84",
+                                               
marks=pytest.mark.skipif(click_version >= (8, 4), reason="Output differs on 
click 8.4"),
+                                               ),
+                               pytest.param(
+                                               "84",
+                                               
marks=pytest.mark.skipif(click_version < (8, 4), reason="Output differs on 
click 8.4"),
+                                               ),
+                               ],
+               )
 def test_suggestion_group(
                advanced_file_regression: AdvancedFileRegressionFixture,
                cli_runner: CliRunner,
+               click_version: str,
                ):
 
        @click_group(context_settings={**CONTEXT_SETTINGS, 
"token_normalize_func": lambda x: x.lower()})
diff --git a/tests/test_commands_/test_suggestion_group_84__failure.md 
b/tests/test_commands_/test_suggestion_group_84__failure.md
new file mode 100644
index 0000000..08740e3
--- /dev/null
+++ b/tests/test_commands_/test_suggestion_group_84__failure.md
@@ -0,0 +1,4 @@
+Usage: demo [OPTIONS] COMMAND [ARGS]...
+Try 'demo --help' for help.
+
+Error: No such command 'list'.
diff --git a/tests/test_commands_/test_suggestion_group_84__success.md 
b/tests/test_commands_/test_suggestion_group_84__success.md
new file mode 100644
index 0000000..a69e3bb
--- /dev/null
+++ b/tests/test_commands_/test_suggestion_group_84__success.md
@@ -0,0 +1,5 @@
+Usage: demo [OPTIONS] COMMAND [ARGS]...
+Try 'demo --help' for help.
+
+Error: No such command 'searh'.
+The most similar command is 'search'.
diff --git a/tests/test_commands_/test_suggestion_group_failure.md 
b/tests/test_commands_/test_suggestion_group_pre_84__failure.md
similarity index 100%
rename from tests/test_commands_/test_suggestion_group_failure.md
rename to tests/test_commands_/test_suggestion_group_pre_84__failure.md
diff --git a/tests/test_commands_/test_suggestion_group_success.md 
b/tests/test_commands_/test_suggestion_group_pre_84__success.md
similarity index 100%
rename from tests/test_commands_/test_suggestion_group_success.md
rename to tests/test_commands_/test_suggestion_group_pre_84__success.md

Reply via email to