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 2024-11-06 16:49:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-cmd2 (Old) and /work/SRC/openSUSE:Factory/.python-cmd2.new.2020 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cmd2" Wed Nov 6 16:49:23 2024 rev:47 rq:1221615 version:2.5.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-cmd2/python-cmd2.changes 2023-01-29 14:14:29.292294259 +0100 +++ /work/SRC/openSUSE:Factory/.python-cmd2.new.2020/python-cmd2.changes 2024-11-06 16:49:41.518546690 +0100 @@ -1,0 +2,44 @@ +Sun Nov 3 19:58:40 UTC 2024 - Martin Hauke <mar...@gmx.de> + +- Update to version 2.5.2 + * Fixed default pytest execution when not using cmd2's custom + invoke command via inv pytest. +- Update to version 2.5.1 + * Fixed readline bug when using ipy command with gnureadline + and Python 3.13. +- Add patch: + * cmd2-no-coverage-tests.patch + +------------------------------------------------------------------- +Thu Oct 24 18:43:27 UTC 2024 - Martin Hauke <mar...@gmx.de> + +- Update to version 2.5.0 + Breaking Change + * cmd2 2.5 supports Python 3.8+ + (removed support for Python 3.6 and 3.7). + Bug Fixes + * Fixed issue where persistent history file was not saved upon + SIGHUP and SIGTERM signals. + * Multiline commands are no longer fragmented in up-arrow history + * Fixed bug where async_alert() overwrites readline's incremental + and non-incremental search prompts. + + This fix introduces behavior where an updated prompt won't + display after an aborted search. + + until a user presses Enter. See async_printing.py + + example for how to handle this case using + Cmd.need_prompt_refresh() and Cmd.async_refresh_prompt(). + Enhancements + * Removed dependency on attrs and replaced with dataclasses. + * add allow_clipboard initialization parameter and attribute to + disable ability to. + * add output to the operating system clipboard. + * Updated unit tests to be Python 3.13 compliant. + * Fall back to bz2 compression of history file when lzma is not + installed.. + * Added settable called scripts_add_to_history which determines + whether scripts and pyscripts + * add commands to history. + Deletions (potentially breaking changes) + * Removed apply_style from Cmd.pwarning(). + +------------------------------------------------------------------- Old: ---- cmd2-2.4.3.tar.gz New: ---- cmd2-2.5.2.tar.gz cmd2-no-coverage-tests.patch BETA DEBUG BEGIN: New:- Add patch: * cmd2-no-coverage-tests.patch BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-cmd2.spec ++++++ --- /var/tmp/diff_new_pack.bZBN2e/_old 2024-11-06 16:49:42.842598492 +0100 +++ /var/tmp/diff_new_pack.bZBN2e/_new 2024-11-06 16:49:42.858599117 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-cmd2 # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,17 +16,16 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 Name: python-cmd2 -Version: 2.4.3 +Version: 2.5.2 Release: 0 Summary: Extra features for standard library's cmd module License: MIT URL: https://github.com/python-cmd2/cmd2 -Source: https://files.pythonhosted.org/packages/source/c/cmd2/cmd2-%{version}.tar.gz -BuildRequires: %{python_module setuptools_scm} -BuildRequires: %{python_module setuptools} +Source: https://github.com/python-cmd2/cmd2/archive/refs/tags/%{version}.tar.gz#/cmd2-%{version}.tar.gz +Patch0: cmd2-no-coverage-tests.patch +BuildRequires: %{python_module pip} +BuildRequires: %{python_module wheel} BuildRequires: %{pythons} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -72,16 +71,15 @@ * test apps against sample session transcript (see example/example.py) %prep -%setup -q -n cmd2-%{version} +%autosetup -p1 -n cmd2-%{version} # Fix spurious-executable-perm chmod a-x README.md -sed -i '/--cov/d' setup.cfg %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -92,5 +90,5 @@ %license LICENSE %doc CHANGELOG.md README.md %{python_sitelib}/cmd2 -%{python_sitelib}/cmd2-%{version}*-info +%{python_sitelib}/cmd2-*-info ++++++ cmd2-2.4.3.tar.gz -> cmd2-2.5.2.tar.gz ++++++ ++++ 9357 lines of diff (skipped) ++++++ cmd2-no-coverage-tests.patch ++++++ diff --git a/pyproject.toml b/pyproject.toml index bfd8d44..f88999e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -54,12 +54,6 @@ warn_unused_ignores = false testpaths = [ "tests", ] -addopts = [ - "--cov=cmd2", - "--cov-append", - "--cov-report=term", - "--cov-report=html", -] [tool.ruff] # Exclude a variety of commonly ignored directories.