* cmd2 now has a dependency on rich for rich text and pretty formatting
in the terminal. Previously, cmd2 had a large amount of custom code
for this purpose that predated the existence of rich.
* Removed the legacy table_creator.py module in favor of rich tables
* Moved most string-related functions from utils.py and ansi.py to
string_utils.py
* Added colors.py and styles.py to provide easy access to rich color
names
* cmd2 no longer has a dependency on cmd and cmd2.Cmd no longer inherits
from cmd.Cmd
* Fixed incompatibilities with Python 3.14.3.
* To avoid future incompatibilities with argparse, we removed most of
our overridden help functions.
* Many more potentially breaking changes, see CHANGELOG.md
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cmd2?expand=0&rev=112
18 lines
415 B
Diff
18 lines
415 B
Diff
Index: cmd2-3.2.0/pyproject.toml
|
|
===================================================================
|
|
--- cmd2-3.2.0.orig/pyproject.toml
|
|
+++ cmd2-3.2.0/pyproject.toml
|
|
@@ -97,12 +97,6 @@ warn_unused_ignores = false
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
-addopts = [
|
|
- "--cov=cmd2",
|
|
- "--cov-append",
|
|
- "--cov-report=term",
|
|
- "--cov-report=html",
|
|
-]
|
|
|
|
[tool.setuptools]
|
|
packages = ["cmd2"]
|