Accepting request 1334455 from devel:languages:python

- update to 3.2.2:
  * Updated `rich_utils.ANSI_STYLE_SEQUENCE_RE` to only match
    ANSI SGR (Select Graphic Rendition) sequences for text styling.
  * The `async_alert` and `async_prompt_update` methods of
    `cmd2.Cmd` now respect the current value of the `allow_style`
    settable
  * If `allow_style` is `NEVER`, all style-related ANSI escape
    codes will be stripped to ensure plain text output

OBS-URL: https://build.opensuse.org/request/show/1334455
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cmd2?expand=0&rev=55
This commit is contained in:
2026-02-24 14:38:06 +00:00
committed by Git OBS Bridge
4 changed files with 16 additions and 4 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b3d16c729c33b07f8f0c7b798569672fed6b9b5bf125b3870ba4d2b1c5b1a6fb
size 758204

3
cmd2-3.2.2.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:56c236f0986d7ad6f7e6aaa7b2ef7709d1ca7af462a68bcaf4157d3ffafa76e9
size 759603

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Feb 23 10:12:27 UTC 2026 - Dirk Müller <dmueller@suse.com>
- update to 3.2.2:
* Updated `rich_utils.ANSI_STYLE_SEQUENCE_RE` to only match
ANSI SGR (Select Graphic Rendition) sequences for text styling.
* The `async_alert` and `async_prompt_update` methods of
`cmd2.Cmd` now respect the current value of the `allow_style`
settable
* If `allow_style` is `NEVER`, all style-related ANSI escape
codes will be stripped to ensure plain text output
-------------------------------------------------------------------
Tue Feb 17 16:57:41 UTC 2026 - Markéta Machová <mmachova@suse.com>

View File

@@ -17,7 +17,7 @@
Name: python-cmd2
Version: 3.2.0
Version: 3.2.2
Release: 0
Summary: Extra features for standard library's cmd module
License: MIT