We are thrilled to announce the release of: cliff 4.13.0 This release is part of the gazpacho release series. The source is available from: https://opendev.org/openstack/cliff Download the package from: https://pypi.org/project/cliff Please report issues through: https://bugs.launchpad.net/python-openstackclient/+bugs For more details, please see below. 4.13.0 ^^^^^^ New Features ************ * "cliff.commandmanager.CommandManager" now accepts an optional "ignored_modules" argument, which can be used to indicate modules that should be skipped when loading commands. This can be useful if e.g. moving a command from a plugin to the core application, to ensure the version in the core application is always preferred. Upgrade Notes ************* * cliff will now warn if duplicates command implementations are found, rather than silently ignoring them. Deprecation Notes ***************** * The "namespace" argument to "cliff.commandmanager.CommandManager" has been deprecated for removal. Users should prefer invoking "load_commands" instead. For example, instead of: cm = commandmanager.CommandManager('foo') Do: cm = commandmanager.CommandManager() cm.load_plugins('foo') Changes in cliff 4.12.0..4.13.0 ------------------------------- 0d82750 Deprecate CommandManager namespace argument a0eee2b Warn on duplicate commands in the same namespace 37edae7 Revert "Implement conflict resolution" a2da89a Implement conflict resolution b33c023 typing: Fixups for typed stevedore Diffstat (except docs and test files) ------------------------------------- .pre-commit-config.yaml | 1 + cliff/command.py | 16 ++- cliff/commandmanager.py | 125 ++++++++++++++++++--- cliff/complete.py | 1 + cliff/display.py | 29 ++++- cliff/formatters/base.py | 3 + cliff/lister.py | 6 +- cliff/show.py | 10 +- .../conflict-resolution-21bcb5f9a6c19d7f.yaml | 12 ++ ...anager-namespace-argument-2d5169222402f633.yaml | 13 +++ requirements.txt | 2 +- 16 files changed, 331 insertions(+), 51 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 1399132..94ac040 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4 +4 @@ PrettyTable>=0.7.2 # BSD -stevedore>=2.0.1 # Apache-2.0 +stevedore>=5.6.0 # Apache-2.0