We are jazzed to announce the release of: neutron-lib 3.4.2: Neutron shared routines and utilities This release is part of the antelope release series. The source is available from: https://opendev.org/openstack/neutron-lib Download the package from: https://pypi.org/project/neutron-lib Please report issues through: https://bugs.launchpad.net/neutron/+bugs For more details, please see below. 3.4.2 ^^^^^ New Features * "CallbacksManager" can now subscribe cancellable events. By default, only "before_" and "precommit_" events, in case of error, can raise a "CallbackFailure" exception. Now, if the event is subscribed with the flag "cancellable" enabled, the "publish" method will raise this exception if the callback fails and returns an error. Changes in neutron-lib 3.4.1..3.4.2 ----------------------------------- 1e0f598 Add the "cancellable" flag to the ``CallbacksManager`` events Diffstat (except docs and test files) ------------------------------------- neutron_lib/callbacks/events.py | 6 ++ neutron_lib/callbacks/exceptions.py | 7 +- neutron_lib/callbacks/manager.py | 74 ++++++++++++---------- neutron_lib/callbacks/registry.py | 6 +- ...anager-cancellable-events-966d76925db919a8.yaml | 8 +++ test-requirements.txt | 1 + 8 files changed, 120 insertions(+), 49 deletions(-) Requirements updates -------------------- diff --git a/test-requirements.txt b/test-requirements.txt index 036b8a9..652d301 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -8,0 +9 @@ coverage!=4.4,>=4.0 # Apache-2.0 +ddt>=1.0.1 # MIT
participants (1)
-
no-reply@openstack.org