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-11-20 14:43:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cmd2 (Old)
 and      /work/SRC/openSUSE:Factory/.python-cmd2.new.1251 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-cmd2"

Fri Nov 20 14:43:34 2026 rev:62 rq:1398199 version:4.4.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cmd2/python-cmd2.changes  2026-09-28 
10:38:41.679452460 +0200
+++ /work/SRC/openSUSE:Factory/.python-cmd2.new.1251/python-cmd2.changes        
2026-11-20 14:43:55.808296436 +0100
@@ -1,0 +2,82 @@
+Tue Nov 17 13:59:56 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 4.4.1:
+  * Enhancements
+  * `set_window_title()` is now an instance method, so title
+    changes use the calling application's terminal.
+  * Added `History.is_persisted()` to check whether a history
+    entry was loaded from a previous session.
+  * Bug Fixes
+  * `History.get()` and `History.span()` raise
+    `HistoryIndexError`, an `IndexError` subclass, for invalid
+    indices and bounded ranges that select no items.
+    Unbounded ranges (`:` and `..`) can still return an empty
+    dictionary. Ranges starting before the beginning of
+    history are rejected instead of clamped.
+  * Malformed ranges, including zero endpoints, raise
+    `HistoryFormatError`, a `ValueError` subclass. The
+    `history` command reports these errors without a
+    traceback hint, and index zero reminds that the first
+    command is command 1.
+  * End-only ranges start at command 1 in the full history,
+    including persisted commands, like explicit-start ranges
+    and single indices. Bare `history` and unbounded ranges
+    still select only the current session unless `--all` is
+    given.
+  * Replaying or editing a selection with persisted commands
+    requires `--all`, including single indices and bounded
+    ranges. Displaying or saving such selections does not,
+    and command numbers are unchanged.
+  * Running, editing, or saving an empty history selection
+    fails before replay, editor launch, or file creation.
+    This covers `history -o` and `history -e` without a
+    selector in an empty session, and actions on searches
+    with no matches.
+  * `History` records which entries were loaded before the
+    session started instead of keeping a plain start index.
+    Entries added after `start_session()` belong to the
+    current session wherever they are placed, including
+    entries inserted at the front.
+  * `session_start_index` is the index just past the last
+    persisted entry. Assigning it marks only the entries
+    already in the list, so assign it or call
+    `start_session()` after loading. After reordering,
+    `history[history.session_start_index:]` can omit
+    current-session entries; use `History.is_persisted()`.
+  * Fixed history ranges starting past the end selecting the
+    last command.
+  * Negative single-index selections now display and return
+    the positive command number.
+  * History regexes containing range separators are handled
+    as regex searches. Other selectors are treated as
+    numbers or ranges only when they match the supported
+    syntax; strings such as URLs, `a:b`, `+1`, and `1_0`
+    remain literal searches.
+  * Fixed `History.truncate()` leaving the current session's
+    start index unchanged, which hid current-session entries
+    from unbounded ranges and searches.
+  * Fixed changing a `History` list in place moving commands
+    between persisted history and the current session.
+    Deleting, inserting, assigning, reordering, or repeating
+    entries no longer shows persisted commands as current or
+    hides current-session commands.
+  * Fixed `set_window_title()` leaving title changes buffered
+    until the next prompt render. The title is flushed before
+    the method returns when no prompt runs, and output errors
+    are ignored while a prompt or `select()` menu runs.
+  * Includes changes from 4.3.1, 4.3.0 and 4.2.4:
+  * 4.3.1: `@with_annotated` `--help` output no longer
+    bypasses the application's output stream; added the
+    `textual_tty_embed.py` example.
+  * 4.3.0: `@with_annotated` is no longer experimental.
+    On POSIX, pipes to interactive programs such as `less`
+    run as the terminal's foreground job, so Ctrl-C and
+    Ctrl-Z reach the whole pipeline. On Windows, pipes to
+    console programs are written as UTF-8 (code page 65001).
+  * 4.2.4: fixed `UnicodeEncodeError` when redirecting or
+    piping output containing Rich box-drawing characters;
+    converted `BoundCommandFunc` and `UnboundCommandFunc`
+    TypeAliases to Protocol classes; added bracketed paste
+    support; enabled Ctrl-Z suspension at the prompt.
+
+-------------------------------------------------------------------

Old:
----
  cmd2-4.2.4.tar.gz

New:
----
  cmd2-4.4.1.tar.gz

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

Other differences:
------------------
++++++ python-cmd2.spec ++++++
--- /var/tmp/diff_new_pack.cCdRfJ/_old  2026-11-20 14:43:58.243399065 +0100
+++ /var/tmp/diff_new_pack.cCdRfJ/_new  2026-11-20 14:43:58.245399149 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           python-cmd2
-Version:        4.2.4
+Version:        4.4.1
 Release:        0
 Summary:        Extra features for standard library's cmd module
 License:        MIT
@@ -39,13 +39,15 @@
 Requires:       python-rich-argparse >= 1.7.2
 BuildArch:      noarch
 # SECTION Test requirements
+BuildRequires:  %{python_module pyte}
 BuildRequires:  %{python_module prompt-toolkit >= 3.0.52}
 BuildRequires:  %{python_module pyperclip >= 1.8.2}
 BuildRequires:  %{python_module pytest >= 8.1.1}
 BuildRequires:  %{python_module pytest-mock >= 3.14.1}
+BuildRequires:  %{python_module pytest-xdist}
 BuildRequires:  %{python_module rich >= 15.0.0}
 BuildRequires:  %{python_module rich-argparse >= 1.7.2}
-BuildRequires:  vim
+BuildRequires:  procps
 # /SECTION
 %python_subpackages
 

++++++ cmd2-4.2.4.tar.gz -> cmd2-4.4.1.tar.gz ++++++
++++ 10097 lines of diff (skipped)

++++++ cmd2-no-coverage-tests.patch ++++++
--- /var/tmp/diff_new_pack.cCdRfJ/_old  2026-11-20 14:43:58.544411751 +0100
+++ /var/tmp/diff_new_pack.cCdRfJ/_new  2026-11-20 14:43:58.550412004 +0100
@@ -2,21 +2,20 @@
  pyproject.toml |    6 ------
  1 file changed, 6 deletions(-)
 
-Index: cmd2-4.0.0/pyproject.toml
+Index: cmd2-4.4.1/pyproject.toml
 ===================================================================
---- cmd2-4.0.0.orig/pyproject.toml
-+++ cmd2-4.0.0/pyproject.toml
-@@ -93,12 +93,6 @@ warn_unused_ignores = false
- 
- [tool.pytest.ini_options]
- testpaths = ["tests"]
--addopts = [
+--- cmd2-4.4.1.orig/pyproject.toml
++++ cmd2-4.4.1/pyproject.toml
+@@ -111,11 +111,6 @@ addopts = [
+     "-n=auto",
+     # Spread slow terminal cases across workers instead of queuing them in 
one batch.
+     "--maxschedchunk=1",
 -    "--cov=cmd2",
--    "--cov-append",
+-    "--cov-config=pyproject.toml",
+-    "--cov-report=xml",
 -    "--cov-report=term",
 -    "--cov-report=html",
--]
+ ]
  
- [tool.setuptools]
- packages = ["cmd2"]
+ [tool.coverage.run]
 

Reply via email to