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 2025-09-10 17:30:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-cloup (Old) and /work/SRC/openSUSE:Factory/.python-cloup.new.1977 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cloup" Wed Sep 10 17:30:17 2025 rev:12 rq:1303444 version:3.0.8 Changes: -------- --- /work/SRC/openSUSE:Factory/python-cloup/python-cloup.changes 2025-08-07 16:49:50.806898437 +0200 +++ /work/SRC/openSUSE:Factory/.python-cloup.new.1977/python-cloup.changes 2025-09-10 17:30:29.874179520 +0200 @@ -1,0 +2,7 @@ +Wed Sep 10 06:41:23 UTC 2025 - John Paul Adrian Glaubitz <[email protected]> + +- Update to 3.0.8 + * Add show_subcommand_aliases to overloads for group + by @ntessman-capsule in (#191) + +------------------------------------------------------------------- Old: ---- cloup-3.0.7.tar.gz New: ---- cloup-3.0.8.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-cloup.spec ++++++ --- /var/tmp/diff_new_pack.Dr578q/_old 2025-09-10 17:30:30.570208787 +0200 +++ /var/tmp/diff_new_pack.Dr578q/_new 2025-09-10 17:30:30.570208787 +0200 @@ -15,9 +15,9 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # - +%{?sle15_python_module_pythons} Name: python-cloup -Version: 3.0.7 +Version: 3.0.8 Release: 0 Summary: Option groups, constraints, subcommand sections and help themes for Click License: BSD-3-Clause ++++++ _scmsync.obsinfo ++++++ --- /var/tmp/diff_new_pack.Dr578q/_old 2025-09-10 17:30:30.602210133 +0200 +++ /var/tmp/diff_new_pack.Dr578q/_new 2025-09-10 17:30:30.602210133 +0200 @@ -1,5 +1,5 @@ -mtime: 1754309521 -commit: b9933ef8c72d35fd718070e9e87ee00d318b2e19 -url: https://src.opensuse.org/nkrapp/python-cloup.git -revision: b9933ef8c72d35fd718070e9e87ee00d318b2e19 +mtime: 1757486575 +commit: b2b827df06b2d45ad6b22a8dfe5ed45f367b1581 +url: https://src.opensuse.org/glaubitz/python-cloup.git +revision: b2b827df06b2d45ad6b22a8dfe5ed45f367b1581 ++++++ cloup-3.0.7.tar.gz -> cloup-3.0.8.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cloup-3.0.7/PKG-INFO new/cloup-3.0.8/PKG-INFO --- old/cloup-3.0.7/PKG-INFO 2025-03-15 01:33:57.752539600 +0100 +++ new/cloup-3.0.8/PKG-INFO 2025-08-05 04:24:51.863871300 +0200 @@ -1,6 +1,6 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: cloup -Version: 3.0.7 +Version: 3.0.8 Summary: Adds features to Click: option groups, constraints, subcommand sections and help themes. Home-page: https://github.com/janLuke/cloup Author: Gianluca Gippetto @@ -29,6 +29,7 @@ Dynamic: home-page Dynamic: keywords Dynamic: license +Dynamic: license-file Dynamic: requires-dist Dynamic: requires-python Dynamic: summary diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cloup-3.0.7/cloup/_commands.py new/cloup-3.0.8/cloup/_commands.py --- old/cloup-3.0.7/cloup/_commands.py 2025-03-15 01:33:50.000000000 +0100 +++ new/cloup-3.0.8/cloup/_commands.py 2025-08-05 04:24:47.000000000 +0200 @@ -1,5 +1,5 @@ """ -This modules contains Cloup command classes and decorators. +This module contains Cloup command classes and decorators. Note that Cloup commands *are* Click commands. Apart from supporting more features, Cloup command decorators have detailed type hints and are generics so @@ -9,10 +9,10 @@ Why did you overload all decorators? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ I wanted that the return type of decorators depended from the ``cls`` argument -but MyPy doesn't allow to set a default value on a generic argument, see: +but MyPy doesn't allow you to set a default value on a generic argument, see: https://github.com/python/mypy/issues/3737. So I had to resort to a workaround using @overload which makes things more -verbose. The ``@overload`` is on the ``cls`` argument: +verbose. '`@overload`` is on the ``cls`` argument: - in one signature, ``cls`` has type ``None`` and it's set to ``None``; in this case the type of the instantiated command is ``cloup.Command`` for ``@command`` @@ -344,7 +344,7 @@ return decorator - # MyPy complains because "Signature of "group" incompatible with supertype". + # MyPy complains: "signature of "group" incompatible with supertype". # The supertype signature is (*args, **kwargs), which is compatible with # this provided that you pass all arguments (expect "name") as keyword arg. @overload # type: ignore @@ -369,6 +369,7 @@ chain: bool = False, hidden: bool = False, deprecated: bool = False, + show_subcommand_aliases: bool = False, ) -> Callable[[AnyCallable], click.Group]: ... @@ -615,6 +616,7 @@ hidden: bool = False, deprecated: bool = False, params: Optional[List[click.Parameter]] = None, + show_subcommand_aliases: bool = False, ) -> Callable[[AnyCallable], Group]: ... diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cloup-3.0.7/cloup/_version.py new/cloup-3.0.8/cloup/_version.py --- old/cloup-3.0.7/cloup/_version.py 2025-03-15 01:33:57.000000000 +0100 +++ new/cloup-3.0.8/cloup/_version.py 2025-08-05 04:24:51.000000000 +0200 @@ -17,5 +17,5 @@ __version_tuple__: VERSION_TUPLE version_tuple: VERSION_TUPLE -__version__ = version = '3.0.7' -__version_tuple__ = version_tuple = (3, 0, 7) +__version__ = version = '3.0.8' +__version_tuple__ = version_tuple = (3, 0, 8) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cloup-3.0.7/cloup.egg-info/PKG-INFO new/cloup-3.0.8/cloup.egg-info/PKG-INFO --- old/cloup-3.0.7/cloup.egg-info/PKG-INFO 2025-03-15 01:33:57.000000000 +0100 +++ new/cloup-3.0.8/cloup.egg-info/PKG-INFO 2025-08-05 04:24:51.000000000 +0200 @@ -1,6 +1,6 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: cloup -Version: 3.0.7 +Version: 3.0.8 Summary: Adds features to Click: option groups, constraints, subcommand sections and help themes. Home-page: https://github.com/janLuke/cloup Author: Gianluca Gippetto @@ -29,6 +29,7 @@ Dynamic: home-page Dynamic: keywords Dynamic: license +Dynamic: license-file Dynamic: requires-dist Dynamic: requires-python Dynamic: summary
