Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-cmd2 for openSUSE:Factory 
checked in at 2026-06-15 19:40:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cmd2 (Old)
 and      /work/SRC/openSUSE:Factory/.python-cmd2.new.1981 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-cmd2"

Mon Jun 15 19:40:41 2026 rev:58 rq:1359331 version:4.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cmd2/python-cmd2.changes  2026-06-08 
14:05:39.200131920 +0200
+++ /work/SRC/openSUSE:Factory/.python-cmd2.new.1981/python-cmd2.changes        
2026-06-15 19:42:15.644439457 +0200
@@ -1,0 +2,19 @@
+Sun Jun 14 21:34:03 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 4.0.0:
+  * Previously, `cmd2` relied on the GNU Readline library for
+    command history. As of version 4.0.0,
+  * `cmd2` has migrated to prompt-toolkit for
+  * all input and history handling.
+  * [cmd2.Cmd][] uses `prompt-toolkit` to provide familiar
+    command-line history capabilities while also
+  * `prompt-toolkit` saves everything you type, whether it is a
+    valid command or not. `cmd2` only saves input to internal
+    history if the command parses successfully and is a valid
+    command. This design choice was intentional, because the
+    contents of history can be saved to a file as a script, or
+    can be re-run. Not saving invalid input reduces unintentional
+    errors when doing so.
+- drop failing_tests.patch (upstream)
+
+-------------------------------------------------------------------

Old:
----
  cmd2-3.5.1.tar.gz
  failing_tests.patch

New:
----
  cmd2-4.0.0.tar.gz

----------(Old B)----------
  Old:    errors when doing so.
- drop failing_tests.patch (upstream)
----------(Old E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-cmd2.spec ++++++
--- /var/tmp/diff_new_pack.zXSWSu/_old  2026-06-15 19:42:16.312467450 +0200
+++ /var/tmp/diff_new_pack.zXSWSu/_new  2026-06-15 19:42:16.316467617 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           python-cmd2
-Version:        3.5.1
+Version:        4.0.0
 Release:        0
 Summary:        Extra features for standard library's cmd module
 License:        MIT
@@ -26,9 +26,6 @@
 # PATCH-FIX-OPENSUSE cmd2-no-coverage-tests.patch [email protected]
 # switch off code coverage measurement
 Patch0:         cmd2-no-coverage-tests.patch
-# PATCH-FIX-UPSTREAM failing_tests.patch gh#python-cmd2/cmd2!1678 
[email protected]
-# recent rich package makes stylize() function to eat EOLs, acommodate tests
-Patch1:         failing_tests.patch
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module wheel}
 BuildRequires:  %{pythons}
@@ -36,16 +33,18 @@
 BuildRequires:  python-rpm-macros
 BuildRequires:  vim
 Requires:       python
+Requires:       python-prompt-toolkit >= 3.0.52
 Requires:       python-pyperclip >= 1.8.2
-Requires:       python-rich >= 14.3.0
-Requires:       python-rich-argparse >= 1.7.1
+Requires:       python-rich >= 15.0.0
+Requires:       python-rich-argparse >= 1.7.2
 BuildArch:      noarch
 # SECTION Test requirements
+BuildRequires:  %{python_module prompt-toolkit >= 3.0.52}
 BuildRequires:  %{python_module pyperclip >= 1.8.2}
-BuildRequires:  %{python_module pytest-mock}
-BuildRequires:  %{python_module pytest}
-BuildRequires:  %{python_module rich >= 14.3.0}
-BuildRequires:  %{python_module rich-argparse >= 1.7.1}
+BuildRequires:  %{python_module pytest >= 8.1.1}
+BuildRequires:  %{python_module pytest-mock >= 3.14.1}
+BuildRequires:  %{python_module rich >= 15.0.0}
+BuildRequires:  %{python_module rich-argparse >= 1.7.2}
 BuildRequires:  vim
 # /SECTION
 %python_subpackages

++++++ cmd2-3.5.1.tar.gz -> cmd2-4.0.0.tar.gz ++++++
++++ 50559 lines of diff (skipped)

++++++ cmd2-no-coverage-tests.patch ++++++
--- /var/tmp/diff_new_pack.zXSWSu/_old  2026-06-15 19:42:16.656481865 +0200
+++ /var/tmp/diff_new_pack.zXSWSu/_new  2026-06-15 19:42:16.668482368 +0200
@@ -2,11 +2,11 @@
  pyproject.toml |    6 ------
  1 file changed, 6 deletions(-)
 
-Index: cmd2-3.5.1/pyproject.toml
+Index: cmd2-4.0.0/pyproject.toml
 ===================================================================
---- cmd2-3.5.1.orig/pyproject.toml     2026-04-24 16:49:54.000000000 +0200
-+++ cmd2-3.5.1/pyproject.toml  2026-06-06 13:48:46.841665515 +0200
-@@ -97,12 +97,6 @@
+--- cmd2-4.0.0.orig/pyproject.toml
++++ cmd2-4.0.0/pyproject.toml
+@@ -93,12 +93,6 @@ warn_unused_ignores = false
  
  [tool.pytest.ini_options]
  testpaths = ["tests"]

Reply via email to