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
This commit is contained in:
Dirk Mueller 2022-03-08 07:47:21 +00:00 committed by Git OBS Bridge
parent 30d6e29131
commit 9fd5e7ff18
4 changed files with 21 additions and 6 deletions

View File

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

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

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

View File

@ -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 <dmueller@suse.com>

View File

@ -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}