Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-cmd2 for openSUSE:Factory 
checked in at 2026-09-15 12:47:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cmd2 (Old)
 and      /work/SRC/openSUSE:Factory/.python-cmd2.new.383539 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-cmd2"

Tue Sep 15 12:47:51 2026 rev:60 rq:1377860 version:4.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cmd2/python-cmd2.changes  2026-07-09 
22:18:38.476618562 +0200
+++ /work/SRC/openSUSE:Factory/.python-cmd2.new.383539/python-cmd2.changes      
2026-09-15 12:47:55.584697868 +0200
@@ -1,0 +2,44 @@
+Mon Sep  7 09:29:06 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 4.2.0:
+  * `@with_annotated` argument groups can now contain an
+    `ArgumentBlock`'s arguments. A `Group` member names a
+    command-line argument, and a block expands
+    into one argument per field, so its fields are named:
+    `Group("host", "port")`.
+  * A `Group` member now names an argument rather than a
+    parameter. The two differ only for an `ArgumentBlock`
+    parameter, which is expanded away and has no
+    argument of its own: `Group("conn")` now raises `ValueError`
+    pointing at the block's fields. It previously produced
+    an empty argument group in `groups=` and a `KeyError` in
+    `mutually_exclusive_groups=`. Whether a `Group` member exists
+    is now validated when the parser is built rather than at
+    decoration time, because a block's field names cannot be
+    known without resolving its type hint, and resolving hints
+    eagerly would break forward-referenced annotations. A typo in a
+    member name still raises `ValueError`, but on first use of
+    that command rather than at class definition. The spec-shape
+    rules (a member listed twice, a member in two groups,
+    `required=True` on a plain group, the mutex nesting rules)
+    are unaffected and still hard-fail at decoration time.
+  * Fixed `@with_annotated(base_command=True)` not listing its
+    subcommands under the positional arguments section of the
+    parent command's `--help`, unlike `argparse` and
+    `Cmd2ArgumentParser`. They were placed in an untitled section
+    of their own instead. Passing `subcommand_title` or
+    `subcommand_description` still gives the subcommands a
+    dedicated section
+  * Fix `@with_annotated` decorator so using `ArgumentBlock`
+    works with groups
+  * Fixed bug where already sorted `choices_provider` results
+    were being re-sorted
+  * Added possibility to use rich Text objects to set the
+    description argument of a `Settable`
+  * Removed redundant `ipython` import which slowed application
+    startup time
+  * Fixed a couple type issues that emerged with the upgrade to
+    `mypy` 2.2.0
+  * Async alert messages can now be Rich renderables.
+
+-------------------------------------------------------------------

Old:
----
  cmd2-4.1.0.tar.gz

New:
----
  cmd2-4.2.0.tar.gz

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

Other differences:
------------------
++++++ python-cmd2.spec ++++++
--- /var/tmp/diff_new_pack.yGWl81/_old  2026-09-15 12:47:56.213724070 +0200
+++ /var/tmp/diff_new_pack.yGWl81/_new  2026-09-15 12:47:56.216724195 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           python-cmd2
-Version:        4.1.0
+Version:        4.2.0
 Release:        0
 Summary:        Extra features for standard library's cmd module
 License:        MIT

++++++ cmd2-4.1.0.tar.gz -> cmd2-4.2.0.tar.gz ++++++
++++ 1708 lines of diff (skipped)

Reply via email to