diff mbox series

[meta-python,2/4] python3-cmd2: Upgrade 4.4.2 -> 4.4.3

Message ID 20261117105804.3937460-2-leon.anavi@konsulko.com
State Under Review
Headers show
Series [meta-python,1/4] python3-aiohue: Upgrade 4.9.1 -> 4.9.2 | expand

Commit Message

Leon Anavi Nov. 17, 2026, 10:58 a.m. UTC
Upgrade to release 4.4.3:

Bug fixes:

- ppaged() now prints its output when the configured pager
  program cannot be run, for example where less is not
  installed. Previously only the shell's error was shown and
  the output was  lost. A pager command which could not be run
  is not tried again while the application is running, so the
  shell's error is shown once for each pager command instead of
  every time.
- A command which prints through a cmd2 console of its own,
  such as a Cmd2GeneralConsole showing a Rich progress bar, no
  longer ends with a BrokenPipeError message when its output is
  piped to something that exits early, as head does. cmd2 now
  ends the command quietly instead, printing
  broken_pipe_warning if it is set. cmd2 consoles now raise
  ConsoleBrokenPipeError, a new subclass of BrokenPipeError
  whose file attribute is the stream which broke.
- Fixed tab completion of file paths and shell commands, and
  get_exes_in_path(), for names containing square brackets.
  This includes a working directory, home directory, or PATH
  directory with brackets in its name.
- File path completion, shell command completion, and
  get_exes_in_path() now match * and ? literally instead of
  returning nothing when the text being completed contains one,
  so names containing those characters can be completed.
- Tab completion now quotes a match which has a character that
  is special to a shell, such as *, ?, (, &, or $, when the
  text being completed is passed to a shell: the arguments of
  the shell command and everything after a pipe. This keeps the
  shell from expanding or misreading the completed name.
  Everywhere else, only a match with a space is quoted, as
  before. See the Special Characters in Paths documentation for
  details.
- get_exes_in_path(), find_editor(), and shell command
  completion no longer skip PATH entries which are symbolic
  links to directories.
- find_editor() now finds the edit editor on Windows. It was
  the preferred default editor there but could never be found
  because it was searched for without its .exe extension, so
  the default editor on a Windows machine which has edit
  changes to it.

Enhancements:

- Added the rich_progress.py example, which shows how to
  display the progress of long-running commands with Rich
  status spinners and progress bars. See the new Updating
  Output in Place documentation for details, including why a
  carriage return embedded in a string passed to poutput() does
  not move the cursor.
- Added the textual_tty_toolbar.py  example, which shows how to
  keep a bottom toolbar on the screen while commands run by
  running a cmd2 application inside a Textual application which
  draws the toolbar. See Embedding in Textual for how it works
  and what it costs.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 .../python/{python3-cmd2_4.4.2.bb => python3-cmd2_4.4.3.bb}     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-cmd2_4.4.2.bb => python3-cmd2_4.4.3.bb} (87%)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-cmd2_4.4.2.bb b/meta-python/recipes-devtools/python/python3-cmd2_4.4.3.bb
similarity index 87%
rename from meta-python/recipes-devtools/python/python3-cmd2_4.4.2.bb
rename to meta-python/recipes-devtools/python/python3-cmd2_4.4.3.bb
index 577eaff41c..2cf423fdd4 100644
--- a/meta-python/recipes-devtools/python/python3-cmd2_4.4.2.bb
+++ b/meta-python/recipes-devtools/python/python3-cmd2_4.4.3.bb
@@ -5,7 +5,7 @@  LIC_FILES_CHKSUM = "file://LICENSE;md5=f2a861642858e0858af9dd4e4716bae0"
 
 DEPENDS += "python3-setuptools-scm-native"
 
-SRC_URI[sha256sum] = "677696e293a1a6a310425d3d52e470518078918585d650fa7eff10635ef4256a"
+SRC_URI[sha256sum] = "6153a28f9b019f31c8fc784b18489edade5852609c913cf5fa36d179bd581a63"
 
 inherit pypi python_setuptools_build_meta python3native