From 9fd5e7ff180f3e50ad061a9cdfcb9da4450b1ea905d485001bd50dc5629ce2ed Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 8 Mar 2022 07:47:21 +0000 Subject: [PATCH] Accepting request 960147 from home:pgajdos:python - version update to 2.4.0 Bug Fixes Fixed issue in ansi.async_alert_str() which would raise IndexError if prompt was blank. Fixed issue where tab completion was quoting argparse flags in some cases. Enhancements Added broader exception handling when enabling clipboard functionality via pyperclip. Added PassThroughException to __init__.py imports. cmd2 now uses pyreadline3 when running any version of Python on Windows Improved memory usage in certain use cases of tables (e.g. nested colored tables) Deletions (potentially breaking changes) Deleted cmd2.fg and cmd2.bg which were deprecated in 2.3.0. Use cmd2.Fg and cmd2.Bg instead. - python-mock is actually not required for build OBS-URL: https://build.opensuse.org/request/show/960147 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cmd2?expand=0&rev=90 --- cmd2-2.3.3.tar.gz | 3 --- cmd2-2.4.0.tar.gz | 3 +++ python-cmd2.changes | 16 ++++++++++++++++ python-cmd2.spec | 5 ++--- 4 files changed, 21 insertions(+), 6 deletions(-) delete mode 100644 cmd2-2.3.3.tar.gz create mode 100644 cmd2-2.4.0.tar.gz diff --git a/cmd2-2.3.3.tar.gz b/cmd2-2.3.3.tar.gz deleted file mode 100644 index 7aecf93..0000000 --- a/cmd2-2.3.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:750d7eb04d55c3bc2a413e191bc177856f388102de47d11f2210a35266543640 -size 675880 diff --git a/cmd2-2.4.0.tar.gz b/cmd2-2.4.0.tar.gz new file mode 100644 index 0000000..699104f --- /dev/null +++ b/cmd2-2.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:090909ab6c8ecee40813cec759e61dd6e70c8227a1a8e96082f5f2b0d394bc77 +size 680118 diff --git a/python-cmd2.changes b/python-cmd2.changes index 216f1ea..c0f6b75 100644 --- a/python-cmd2.changes +++ b/python-cmd2.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Tue Mar 8 07:40:29 UTC 2022 - pgajdos@suse.com + +- version update to 2.4.0 + Bug Fixes + Fixed issue in ansi.async_alert_str() which would raise IndexError if prompt was blank. + Fixed issue where tab completion was quoting argparse flags in some cases. + Enhancements + Added broader exception handling when enabling clipboard functionality via pyperclip. + Added PassThroughException to __init__.py imports. + cmd2 now uses pyreadline3 when running any version of Python on Windows + Improved memory usage in certain use cases of tables (e.g. nested colored tables) + Deletions (potentially breaking changes) + Deleted cmd2.fg and cmd2.bg which were deprecated in 2.3.0. Use cmd2.Fg and cmd2.Bg instead. +- python-mock is actually not required for build + ------------------------------------------------------------------- Sat Dec 11 22:08:57 UTC 2021 - Dirk Müller diff --git a/python-cmd2.spec b/python-cmd2.spec index 026791b..8476b5e 100644 --- a/python-cmd2.spec +++ b/python-cmd2.spec @@ -1,7 +1,7 @@ # # spec file for package python-cmd2 # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-cmd2 -Version: 2.3.3 +Version: 2.4.0 Release: 0 Summary: Extra features for standard library's cmd module License: MIT @@ -42,7 +42,6 @@ Requires: python-typing %endif # SECTION Test requirements BuildRequires: %{python_module attrs >= 16.3.0} -BuildRequires: %{python_module mock} BuildRequires: %{python_module pyperclip >= 1.6} BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pytest-mock}