14
0
forked from pool/python-cmd2

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:
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,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}