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-03 17:16:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cyclopts (Old)
 and      /work/SRC/openSUSE:Factory/.python-cyclopts.new.16738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-cyclopts"

Mon Aug  3 17:16:55 2026 rev:9 rq:1369212 version:4.22.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cyclopts/python-cyclopts.changes  
2026-08-01 18:35:36.708805166 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-cyclopts.new.16738/python-cyclopts.changes   
    2026-08-03 17:17:11.058482969 +0200
@@ -1,0 +2,6 @@
+Mon Aug  3 05:36:08 UTC 2026 - Martin Pluskal <[email protected]>
+
+- Update to version 4.22.4:
+  * Singularize the ConsumeMultipleError noun when the count is 1
+
+-------------------------------------------------------------------

Old:
----
  cyclopts-4.22.3.tar.gz

New:
----
  cyclopts-4.22.4.tar.gz

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

Other differences:
------------------
++++++ python-cyclopts.spec ++++++
--- /var/tmp/diff_new_pack.CtoDU4/_old  2026-08-03 17:17:12.114519658 +0200
+++ /var/tmp/diff_new_pack.CtoDU4/_new  2026-08-03 17:17:12.114519658 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           python-cyclopts
-Version:        4.22.3
+Version:        4.22.4
 Release:        0
 Summary:        Intuitive, easy CLIs based on python type hints
 License:        Apache-2.0

++++++ cyclopts-4.22.3.tar.gz -> cyclopts-4.22.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cyclopts-4.22.3/PKG-INFO new/cyclopts-4.22.4/PKG-INFO
--- old/cyclopts-4.22.3/PKG-INFO        2020-02-02 01:00:00.000000000 +0100
+++ new/cyclopts-4.22.4/PKG-INFO        2020-02-02 01:00:00.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: cyclopts
-Version: 4.22.3
+Version: 4.22.4
 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.22.3/cyclopts/_version.py 
new/cyclopts-4.22.4/cyclopts/_version.py
--- old/cyclopts-4.22.3/cyclopts/_version.py    2020-02-02 01:00:00.000000000 
+0100
+++ new/cyclopts-4.22.4/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.22.3'
-__version_tuple__ = version_tuple = (4, 22, 3)
+__version__ = version = '4.22.4'
+__version_tuple__ = version_tuple = (4, 22, 4)
 
 __commit_id__ = commit_id = None
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cyclopts-4.22.3/cyclopts/exceptions.py 
new/cyclopts-4.22.4/cyclopts/exceptions.py
--- old/cyclopts-4.22.3/cyclopts/exceptions.py  2020-02-02 01:00:00.000000000 
+0100
+++ new/cyclopts-4.22.4/cyclopts/exceptions.py  2020-02-02 01:00:00.000000000 
+0100
@@ -596,9 +596,12 @@
         param_name = self.keyword or self.argument.name
 
         if self.actual_count < self.min_required:
-            constraint = f"requires at least {self.min_required}"
+            count = self.min_required
+            constraint = f"requires at least {count}"
         else:
-            constraint = f"accepts at most {self.max_allowed}"
+            count = self.max_allowed
+            constraint = f"accepts at most {count}"
+        noun = "element" if count == 1 else "elements"
 
         # Skip MissingArgumentError._segments; we want just the base verbose 
preamble.
         yield from CycloptsError._segments(self)
@@ -610,7 +613,7 @@
         else:
             yield "Parameter ", ""
         yield param_name, STYLE_NAME
-        yield f" {constraint} elements. Got {self.actual_count}.", ""
+        yield f" {constraint} {noun}. Got {self.actual_count}.", ""
 
 
 @define(kw_only=True)

Reply via email to