Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-cloup for openSUSE:Factory 
checked in at 2026-06-15 19:42:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cloup (Old)
 and      /work/SRC/openSUSE:Factory/.python-cloup.new.1981 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-cloup"

Mon Jun 15 19:42:01 2026 rev:14 rq:1359226 version:3.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cloup/python-cloup.changes        
2026-04-19 18:28:08.485392885 +0200
+++ /work/SRC/openSUSE:Factory/.python-cloup.new.1981/python-cloup.changes      
2026-06-15 19:44:58.523264886 +0200
@@ -1,0 +2,12 @@
+Sun Jun 14 10:06:44 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 3.1.0:
+  * Drop support for Click < 8.1.0. Previous Cloup versions have
+    a bug with path parameter types in Click < 8.1.0, since they
+    pass the `executable` kwarg to `click.Path`, a kwarg added in
+    Click 8.1.
+  * Fix type error related to checking if Command is a
+    MultiCommand (deprecated since Click 8.2) (see #202).
+  * Fix ParamType typing for Click 8.4
+
+-------------------------------------------------------------------

Old:
----
  cloup-3.0.9.tar.gz

New:
----
  cloup-3.1.0.tar.gz

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

Other differences:
------------------
++++++ python-cloup.spec ++++++
--- /var/tmp/diff_new_pack.umnjBe/_old  2026-06-15 19:44:59.699314169 +0200
+++ /var/tmp/diff_new_pack.umnjBe/_new  2026-06-15 19:44:59.715314839 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           python-cloup
-Version:        3.0.9
+Version:        3.1.0
 Release:        0
 Summary:        Option groups, constraints, subcommand sections and help 
themes for Click
 License:        BSD-3-Clause
@@ -29,11 +29,11 @@
 BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:       python-click >= 8.0
+Requires:       python-click >= 8.1
 Requires:       python-typing-extensions
 BuildArch:      noarch
 # SECTION test requirements
-BuildRequires:  %{python_module click >= 8.0}
+BuildRequires:  %{python_module click >= 8.1}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module typing-extensions}
 # /SECTION

++++++ cloup-3.0.9.tar.gz -> cloup-3.1.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cloup-3.0.9/.github/workflows/tests.yaml 
new/cloup-3.1.0/.github/workflows/tests.yaml
--- old/cloup-3.0.9/.github/workflows/tests.yaml        2026-04-04 
05:53:29.000000000 +0200
+++ new/cloup-3.1.0/.github/workflows/tests.yaml        2026-05-26 
04:47:51.000000000 +0200
@@ -30,10 +30,10 @@
 
     steps:
       - name: Checkout
-        uses: actions/checkout@v4
+        uses: actions/checkout@v6
 
       - name: Setup Python
-        uses: actions/setup-python@v5
+        uses: actions/setup-python@v6
         with:
           python-version: ${{ matrix.python }}
 
@@ -47,8 +47,8 @@
       - name: Run tox -e ${{ matrix.tox }}
         run: tox -e ${{ matrix.tox }}
 
-      - name: Install and run codecov (py38-click8 only)
-        if: ${{ matrix.tox == 'py38-click8' }}
+      - name: Install and run codecov (py39-click8 only)
+        if: ${{ matrix.tox == 'py39-click8' }}
         run: |
           pip install codecov
           codecov
@@ -61,10 +61,10 @@
       github.repository == 'janluke/cloup'
     runs-on: ubuntu-latest
     steps:
-      - uses: actions/checkout@v4
+      - uses: actions/checkout@v6
 
       - name: Setup Python 3.9
-        uses: actions/setup-python@v5
+        uses: actions/setup-python@v6
         with:
           python-version: 3.9
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cloup-3.0.9/PKG-INFO new/cloup-3.1.0/PKG-INFO
--- old/cloup-3.0.9/PKG-INFO    2026-04-04 05:53:43.710787800 +0200
+++ new/cloup-3.1.0/PKG-INFO    2026-05-26 04:48:04.856943600 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: cloup
-Version: 3.0.9
+Version: 3.1.0
 Summary: Adds features to Click: option groups, constraints, subcommand 
sections and help themes.
 Home-page: https://github.com/janLuke/cloup
 Author: Gianluca Gippetto
@@ -19,7 +19,7 @@
 Requires-Python: >=3.9
 Description-Content-Type: text/x-rst
 License-File: LICENSE
-Requires-Dist: click<9.0,>=8.0
+Requires-Dist: click<9.0,>=8.1.0
 Requires-Dist: typing_extensions; python_version <= "3.10"
 Dynamic: author
 Dynamic: author-email
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cloup-3.0.9/cloup/_commands.py 
new/cloup-3.1.0/cloup/_commands.py
--- old/cloup-3.0.9/cloup/_commands.py  2026-04-04 05:53:29.000000000 +0200
+++ new/cloup-3.1.0/cloup/_commands.py  2026-05-26 04:47:51.000000000 +0200
@@ -108,7 +108,13 @@
         self.format_params(ctx, formatter)
         if self.must_show_constraints(ctx):
             self.format_constraints(ctx, formatter)  # type: ignore
-        if isinstance(self, click.MultiCommand):
+        # We use hasattr() in place of isinstance(..., MultiCommand) because
+        # MultiCommand is not a valid type since Click 8.2, which merged 
MultiCommand
+        # with Group and deprecated it. Since then, MultiCommand returns a
+        # _MultiCommand(Group) fake class through a module-level __getattr__, 
and mypy
+        # complains that MultiCommand is not a type. This check can be 
eventually
+        # replaced by isinstance(self, click.Group) when we drop support for 
Click 8.1.
+        if hasattr(self, "format_commands"):
             self.format_commands(ctx, formatter)
         self.format_epilog(ctx, formatter)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cloup-3.0.9/cloup/_params.pyi 
new/cloup-3.1.0/cloup/_params.pyi
--- old/cloup-3.0.9/cloup/_params.pyi   2026-04-04 05:53:29.000000000 +0200
+++ new/cloup-3.1.0/cloup/_params.pyi   2026-05-26 04:47:51.000000000 +0200
@@ -1,7 +1,7 @@
 """
 Types for parameter decorators are in this stub for convenience of 
implementation.
 """
-from typing import Any, Callable, List, Optional, Sequence, Tuple, Type, 
TypeVar, Union
+from typing import Any, Callable, List, Optional, Protocol, Sequence, Tuple, 
Type, TypeVar, Union
 
 import click
 from click.shell_completion import CompletionItem
@@ -11,7 +11,23 @@
 F = TypeVar('F', bound=Callable[..., Any])
 P = TypeVar('P', bound=click.Parameter)
 
-SimpleParamTypeLike = Union[click.ParamType, Type[float], Type[int], Type[str]]
+class _ParamType(Protocol):
+    # Once Click 8.3 support is dropped, this can be replaced with
+    # click.ParamType[Any].
+    @property
+    def name(self) -> Optional[str]:
+        ...
+
+    def convert(
+        self,
+        value: Any,
+        param: Optional[click.Parameter],
+        ctx: Optional[click.Context],
+    ) -> Any:
+        ...
+
+
+SimpleParamTypeLike = Union[_ParamType, Type[float], Type[int], Type[str]]
 ParamTypeLike = Union[SimpleParamTypeLike, Tuple[SimpleParamTypeLike, ...]]
 ParamDefault = Union[Any, Callable[[], Any]]
 ParamCallback = Callable[[click.Context, P, Any], Any]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cloup-3.0.9/cloup/_version.py 
new/cloup-3.1.0/cloup/_version.py
--- old/cloup-3.0.9/cloup/_version.py   2026-04-04 05:53:43.000000000 +0200
+++ new/cloup-3.1.0/cloup/_version.py   2026-05-26 04:48:04.000000000 +0200
@@ -28,7 +28,7 @@
 commit_id: COMMIT_ID
 __commit_id__: COMMIT_ID
 
-__version__ = version = '3.0.9'
-__version_tuple__ = version_tuple = (3, 0, 9)
+__version__ = version = '3.1.0'
+__version_tuple__ = version_tuple = (3, 1, 0)
 
-__commit_id__ = commit_id = 'gd53d04f51'
+__commit_id__ = commit_id = 'g7eba003b4'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cloup-3.0.9/cloup.egg-info/PKG-INFO 
new/cloup-3.1.0/cloup.egg-info/PKG-INFO
--- old/cloup-3.0.9/cloup.egg-info/PKG-INFO     2026-04-04 05:53:43.000000000 
+0200
+++ new/cloup-3.1.0/cloup.egg-info/PKG-INFO     2026-05-26 04:48:04.000000000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: cloup
-Version: 3.0.9
+Version: 3.1.0
 Summary: Adds features to Click: option groups, constraints, subcommand 
sections and help themes.
 Home-page: https://github.com/janLuke/cloup
 Author: Gianluca Gippetto
@@ -19,7 +19,7 @@
 Requires-Python: >=3.9
 Description-Content-Type: text/x-rst
 License-File: LICENSE
-Requires-Dist: click<9.0,>=8.0
+Requires-Dist: click<9.0,>=8.1.0
 Requires-Dist: typing_extensions; python_version <= "3.10"
 Dynamic: author
 Dynamic: author-email
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cloup-3.0.9/cloup.egg-info/requires.txt 
new/cloup-3.1.0/cloup.egg-info/requires.txt
--- old/cloup-3.0.9/cloup.egg-info/requires.txt 2026-04-04 05:53:43.000000000 
+0200
+++ new/cloup-3.1.0/cloup.egg-info/requires.txt 2026-05-26 04:48:04.000000000 
+0200
@@ -1,4 +1,4 @@
-click<9.0,>=8.0
+click<9.0,>=8.1.0
 
 [:python_version <= "3.10"]
 typing_extensions
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cloup-3.0.9/setup.py new/cloup-3.1.0/setup.py
--- old/cloup-3.0.9/setup.py    2026-04-04 05:53:29.000000000 +0200
+++ new/cloup-3.1.0/setup.py    2026-05-26 04:47:51.000000000 +0200
@@ -46,7 +46,7 @@
     include_package_data=True,
     python_requires='>=3.9',
     install_requires=[
-        'click >= 8.0, < 9.0',
+        'click >= 8.1.0, < 9.0',
         'typing_extensions; python_version<="3.10"',
     ],
 )

Reply via email to