14
0
forked from pool/python-cmd2

Accepting request 1221253 from home:mnhauke

- Update to version 2.5.2
  * Fixed default pytest execution when not using cmd2's custom
    invoke command via inv pytest.
- Update to version 2.5.1
  * Fixed readline bug when using ipy command with gnureadline
    and Python 3.13.
- Add patch:
  * cmd2-no-coverage-tests.patch

- Update to version 2.5.0
  Breaking Change
  * cmd2 2.5 supports Python 3.8+
    (removed support for Python 3.6 and 3.7).
  Bug Fixes
  * Fixed issue where persistent history file was not saved upon
    SIGHUP and SIGTERM signals.
  * Multiline commands are no longer fragmented in up-arrow history
  * Fixed bug where async_alert() overwrites readline's incremental
    and non-incremental search prompts.
    + This fix introduces behavior where an updated prompt won't
      display after an aborted search.
    + until a user presses Enter. See async_printing.py
    + example for how to handle this case using
      Cmd.need_prompt_refresh() and Cmd.async_refresh_prompt().
  Enhancements
  * Removed dependency on attrs and replaced with dataclasses.
  * add allow_clipboard initialization parameter and attribute to
    disable ability to.
  * add output to the operating system clipboard.
  * Updated unit tests to be Python 3.13 compliant.

OBS-URL: https://build.opensuse.org/request/show/1221253
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cmd2?expand=0&rev=98
This commit is contained in:
2024-11-05 21:50:12 +00:00
committed by Git OBS Bridge
parent b28278e34c
commit 2a59f59d2b
5 changed files with 74 additions and 15 deletions

View File

@@ -1,3 +1,47 @@
-------------------------------------------------------------------
Sun Nov 3 19:58:40 UTC 2024 - Martin Hauke <mardnh@gmx.de>
- Update to version 2.5.2
* Fixed default pytest execution when not using cmd2's custom
invoke command via inv pytest.
- Update to version 2.5.1
* Fixed readline bug when using ipy command with gnureadline
and Python 3.13.
- Add patch:
* cmd2-no-coverage-tests.patch
-------------------------------------------------------------------
Thu Oct 24 18:43:27 UTC 2024 - Martin Hauke <mardnh@gmx.de>
- Update to version 2.5.0
Breaking Change
* cmd2 2.5 supports Python 3.8+
(removed support for Python 3.6 and 3.7).
Bug Fixes
* Fixed issue where persistent history file was not saved upon
SIGHUP and SIGTERM signals.
* Multiline commands are no longer fragmented in up-arrow history
* Fixed bug where async_alert() overwrites readline's incremental
and non-incremental search prompts.
+ This fix introduces behavior where an updated prompt won't
display after an aborted search.
+ until a user presses Enter. See async_printing.py
+ example for how to handle this case using
Cmd.need_prompt_refresh() and Cmd.async_refresh_prompt().
Enhancements
* Removed dependency on attrs and replaced with dataclasses.
* add allow_clipboard initialization parameter and attribute to
disable ability to.
* add output to the operating system clipboard.
* Updated unit tests to be Python 3.13 compliant.
* Fall back to bz2 compression of history file when lzma is not
installed..
* Added settable called scripts_add_to_history which determines
whether scripts and pyscripts
* add commands to history.
Deletions (potentially breaking changes)
* Removed apply_style from Cmd.pwarning().
-------------------------------------------------------------------
Sat Jan 28 14:33:56 UTC 2023 - Dirk Müller <dmueller@suse.com>