From 13d60183349cd8ca9b3d342eceddba2486867d029f8808abb4a8b57bc2d57bd4 Mon Sep 17 00:00:00 2001 From: Nico Krapp Date: Wed, 10 Sep 2025 09:11:38 +0000 Subject: [PATCH] Accepting request 1303211 from home:mcalabkova:branches:devel:languages:python - Update to 2.7.0 * removed support for Python 3.8 * Added support for Python 3.14 * Added new Cmd.ppretty() method for pretty printing arbitrary Python data structures * Clarified help text for -t/--transcript argument to the history command * Added explicit support for free-threaded versions of Python, starting with version 3.14 * Integrated rich-argparse with cmd2's default argparse help formatter (Cmd2HelpFormatter). OBS-URL: https://build.opensuse.org/request/show/1303211 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cmd2?expand=0&rev=110 --- cmd2-2.5.11.tar.gz | 3 --- cmd2-2.7.0.tar.gz | 3 +++ python-cmd2.changes | 15 +++++++++++++++ python-cmd2.spec | 16 ++++++++-------- 4 files changed, 26 insertions(+), 11 deletions(-) delete mode 100644 cmd2-2.5.11.tar.gz create mode 100644 cmd2-2.7.0.tar.gz diff --git a/cmd2-2.5.11.tar.gz b/cmd2-2.5.11.tar.gz deleted file mode 100644 index d0072e7..0000000 --- a/cmd2-2.5.11.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:daf11414d6985d5020a2ae4d258411ab3a2bf1548f474977cd964a6cb2655f36 -size 621759 diff --git a/cmd2-2.7.0.tar.gz b/cmd2-2.7.0.tar.gz new file mode 100644 index 0000000..d01c2ef --- /dev/null +++ b/cmd2-2.7.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a52da7fca6b84a220df393015d9dc83915a67ac15d8dec28529175722b2c784d +size 628512 diff --git a/python-cmd2.changes b/python-cmd2.changes index ace6e44..5290bbb 100644 --- a/python-cmd2.changes +++ b/python-cmd2.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Mon Sep 8 12:59:18 UTC 2025 - Markéta Machová + +- Update to 2.7.0 + * removed support for Python 3.8 + * Added support for Python 3.14 + * Added new Cmd.ppretty() method for pretty printing arbitrary + Python data structures + * Clarified help text for -t/--transcript argument to the history + command + * Added explicit support for free-threaded versions of Python, + starting with version 3.14 + * Integrated rich-argparse with cmd2's default argparse help + formatter (Cmd2HelpFormatter). + ------------------------------------------------------------------- Fri Jul 4 09:05:16 UTC 2025 - Dirk Müller diff --git a/python-cmd2.spec b/python-cmd2.spec index 7e5f609..b6c67a8 100644 --- a/python-cmd2.spec +++ b/python-cmd2.spec @@ -1,7 +1,7 @@ # # spec file for package python-cmd2 # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: python-cmd2 -Version: 2.5.11 +Version: 2.7.0 Release: 0 Summary: Extra features for standard library's cmd module License: MIT @@ -31,16 +31,16 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: vim Requires: python -Requires: python-attrs >= 16.3.0 -Requires: python-pyperclip >= 1.6 -Requires: python-wcwidth >= 0.1.7 +Requires: python-pyperclip >= 1.8 +Requires: python-rich-argparse >= 1.7.1 +Requires: python-wcwidth >= 0.2.10 BuildArch: noarch # SECTION Test requirements -BuildRequires: %{python_module attrs >= 16.3.0} -BuildRequires: %{python_module pyperclip >= 1.6} +BuildRequires: %{python_module pyperclip >= 1.8} BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module wcwidth >= 0.1.7} +BuildRequires: %{python_module rich-argparse >= 1.7.1} +BuildRequires: %{python_module wcwidth >= 0.2.10} BuildRequires: vim # /SECTION %python_subpackages