We exuberantly announce the release of: python-mistralclient 4.0.0: Mistral Client Library This release is part of the ussuri release series. The source is available from: https://opendev.org/openstack/python-mistralclient Download the package from: https://pypi.org/project/python-mistralclient Please report issues through: https://bugs.launchpad.net/python-mistralclient/+bugs For more details, please see below. 4.0.0 ^^^^^ New Features ************ * Add namespace parameter to action commands. Namespace parameter allows to create multiple actions with same name under different namespaces. * Added 2 new CLI commands, "execution-get-sub-executions" returns sub-executions of a given execution id and "task-get-sub-executions" returns the sub-executions of a given task execution id. Both commands have the options "--max-depth" which is the max depth of a sub-execution, and "--errors-only" that allows to find only ERROR paths of the execution tree. Upgrade Notes ************* * Python 2.7 support has been dropped. Last release of python- mistralclient to support python 2.7 is OpenStack Train. The minimum version of Python now supported is Python 3.6. Changes in python-mistralclient 3.10.0..4.0.0 --------------------------------------------- dc82749 Add "duration" to task executions printed by CLI commands 084b6d5 Add "duration" to workflow executions printed by CLI commands 5171cdd Create client for interactive shell 23270d2 Add new CLI commands for sub-executions new API endpoints e1e75d6 Add namespace support for actions to client ad16ffc Update hacking and fix warning f5b15b6 Add script for unit test coverage job 8703da4 [ussuri][goal] Drop python 2.7 support and testing c060dd7 fix the mistralclient set endpoint_type invaild 7cea381 Roots only option for executions-list be58c54 tox: Keeping going with docs da8d67d Switch to Ussuri jobs 3227dab Update master for stable/train Diffstat (except docs and test files) ------------------------------------- .coveragerc | 8 ++ .zuul.yaml | 10 +- lower-constraints.txt | 3 +- mistralclient/api/base.py | 8 +- mistralclient/api/v2/action_executions.py | 6 +- mistralclient/api/v2/actions.py | 24 ++-- mistralclient/api/v2/executions.py | 10 ++ mistralclient/api/v2/tasks.py | 11 ++ mistralclient/auth/keycloak.py | 1 + mistralclient/auth/keystone.py | 2 +- mistralclient/commands/v2/action_executions.py | 8 ++ mistralclient/commands/v2/actions.py | 49 ++++++- mistralclient/commands/v2/base.py | 44 +++++- mistralclient/commands/v2/executions.py | 114 +++++++++++++-- mistralclient/commands/v2/tasks.py | 38 +++-- mistralclient/shell.py | 7 +- .../notes/add_namespace_option_to_actions.yaml | 5 + .../notes/add_sub_executions_new_commands.yaml | 9 ++ .../notes/drop-py-2-7-9c369125c06e32bd.yaml | 6 + releasenotes/source/index.rst | 1 + releasenotes/source/train.rst | 6 + setup.cfg | 2 - test-requirements.txt | 3 +- tox.ini | 27 ++-- 36 files changed, 719 insertions(+), 151 deletions(-) Requirements updates -------------------- diff --git a/test-requirements.txt b/test-requirements.txt index 7deb3e3..95200cd 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -4 +4,2 @@ -hacking>=1.1.0,<1.2.0 # Apache-2.0 +coverage>=4.0 # Apache-2.0 +hacking>=1.1.0 # Apache-2.0