Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-cyclopts for openSUSE:Factory 
checked in at 2026-08-24 12:10:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cyclopts (Old)
 and      /work/SRC/openSUSE:Factory/.python-cyclopts.new.1258 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-cyclopts"

Mon Aug 24 12:10:39 2026 rev:13 rq:1373167 version:4.23.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cyclopts/python-cyclopts.changes  
2026-08-21 16:54:53.764304669 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-cyclopts.new.1258/python-cyclopts.changes    
    2026-08-24 12:16:02.642444500 +0200
@@ -1,0 +2,7 @@
+Sun Aug 23 05:20:01 UTC 2026 - Martin Pluskal <[email protected]>
+
+- Update to 4.23.2:
+  * Add type hints to the help panel and spec copy() methods
+- Switch from update-alternatives to libalternatives
+
+-------------------------------------------------------------------

Old:
----
  cyclopts-4.23.1.tar.gz

New:
----
  cyclopts-4.23.2.tar.gz

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

Other differences:
------------------
++++++ python-cyclopts.spec ++++++
--- /var/tmp/diff_new_pack.92caEw/_old  2026-08-24 12:16:03.990492802 +0200
+++ /var/tmp/diff_new_pack.92caEw/_new  2026-08-24 12:16:03.994492946 +0200
@@ -16,8 +16,9 @@
 #
 
 
+%bcond_without libalternatives
 Name:           python-cyclopts
-Version:        4.23.1
+Version:        4.23.2
 Release:        0
 Summary:        Intuitive, easy CLIs based on python type hints
 License:        Apache-2.0
@@ -31,14 +32,14 @@
 BuildRequires:  %{python_module rich >= 13.6.0}
 BuildRequires:  %{python_module rich-rst >= 1.3.1}
 BuildRequires:  %{python_module wheel}
+BuildRequires:  alts
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:       alts
 Requires:       python-attrs >= 23.1.0
 Requires:       python-docstring-parser >= 0.15
 Requires:       python-rich >= 13.6.0
 Requires:       python-rich-rst >= 1.3.1
-Requires(post): update-alternatives
-Requires(postun): update-alternatives
 BuildArch:      noarch
 %if %{python_version_nodots} < 311
 Requires:       python-tomli >= 2.0.0
@@ -60,6 +61,7 @@
 %install
 %pyproject_install
 %python_clone -a %{buildroot}%{_bindir}/cyclopts
+%python_group_libalternatives cyclopts
 # force hash-based .pyc (avoid python-bytecode-inconsistent-mtime)
 %python_expand $python -m compileall -q -f -o 0 -o 1 --invalidation-mode 
unchecked-hash %{buildroot}%{$python_sitelib}/cyclopts
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -67,11 +69,8 @@
 %check
 %python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python -B -c "import 
cyclopts"
 
-%post
-%python_install_alternative cyclopts
-
-%postun
-%python_uninstall_alternative cyclopts
+%pre
+%python_libalternatives_reset_alternative cyclopts
 
 %files %{python_files}
 %doc README.md

++++++ cyclopts-4.23.1.tar.gz -> cyclopts-4.23.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cyclopts-4.23.1/PKG-INFO new/cyclopts-4.23.2/PKG-INFO
--- old/cyclopts-4.23.1/PKG-INFO        2020-02-02 01:00:00.000000000 +0100
+++ new/cyclopts-4.23.2/PKG-INFO        2020-02-02 01:00:00.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.5
 Name: cyclopts
-Version: 4.23.1
+Version: 4.23.2
 Summary: Intuitive, easy CLIs based on type hints.
 Project-URL: Homepage, https://github.com/BrianPugh/cyclopts
 Project-URL: Repository, https://github.com/BrianPugh/cyclopts
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cyclopts-4.23.1/cyclopts/_version.py 
new/cyclopts-4.23.2/cyclopts/_version.py
--- old/cyclopts-4.23.1/cyclopts/_version.py    2020-02-02 01:00:00.000000000 
+0100
+++ new/cyclopts-4.23.2/cyclopts/_version.py    2020-02-02 01:00:00.000000000 
+0100
@@ -18,7 +18,7 @@
 commit_id: str | None
 __commit_id__: str | None
 
-__version__ = version = '4.23.1'
-__version_tuple__ = version_tuple = (4, 23, 1)
+__version__ = version = '4.23.2'
+__version_tuple__ = version_tuple = (4, 23, 2)
 
 __commit_id__ = commit_id = None
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cyclopts-4.23.1/cyclopts/help/help.py 
new/cyclopts-4.23.2/cyclopts/help/help.py
--- old/cyclopts-4.23.1/cyclopts/help/help.py   2020-02-02 01:00:00.000000000 
+0100
+++ new/cyclopts-4.23.2/cyclopts/help/help.py   2020-02-02 01:00:00.000000000 
+0100
@@ -13,6 +13,11 @@
 
 from attrs import define, evolve, field
 
+if sys.version_info >= (3, 11):
+    from typing import Self
+else:
+    from typing_extensions import Self
+
 from cyclopts.annotations import resolve_annotated
 from cyclopts.argument.utils import is_short_flag
 from cyclopts.core import _get_root_module_name, 
_iter_resolution_argument_collections
@@ -124,7 +129,7 @@
     default: str | None = None
     """Default value for this parameter to display. None means no default to 
show."""
 
-    def copy(self, **kwargs):
+    def copy(self, **kwargs: Any) -> Self:
         return evolve(self, **kwargs)
 
 
@@ -150,7 +155,7 @@
     entries: list[HelpEntry] = field(factory=list)
     """List of help entries to display (in order) in the panel."""
 
-    def copy(self, **kwargs):
+    def copy(self, **kwargs: Any) -> Self:
         return evolve(self, **kwargs)
 
     def _remove_duplicates(self):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cyclopts-4.23.1/cyclopts/help/specs.py 
new/cyclopts-4.23.2/cyclopts/help/specs.py
--- old/cyclopts-4.23.1/cyclopts/help/specs.py  2020-02-02 01:00:00.000000000 
+0100
+++ new/cyclopts-4.23.2/cyclopts/help/specs.py  2020-02-02 01:00:00.000000000 
+0100
@@ -1,11 +1,17 @@
 import math
+import sys
 import textwrap
 from collections.abc import Iterable
 from operator import attrgetter
-from typing import TYPE_CHECKING, Literal, Optional, Union
+from typing import TYPE_CHECKING, Any, Literal, Optional, Union
 
 from attrs import evolve
 
+if sys.version_info >= (3, 11):
+    from typing import Self
+else:
+    from typing_extensions import Self
+
 from cyclopts.utils import frozen
 
 if TYPE_CHECKING:
@@ -394,7 +400,7 @@
             value = None
         return "" if value is None else value
 
-    def copy(self, **kwargs):
+    def copy(self, **kwargs: Any) -> Self:
         return evolve(self, **kwargs)
 
 
@@ -698,7 +704,7 @@
 
         return table
 
-    def copy(self, **kwargs):
+    def copy(self, **kwargs: Any) -> Self:
         return evolve(self, **kwargs)
 
 
@@ -830,5 +836,5 @@
 
         return Panel(renderable, **opts)
 
-    def copy(self, **kwargs):
+    def copy(self, **kwargs: Any) -> Self:
         return evolve(self, **kwargs)

Reply via email to