[release-announce] oslo.service 1.34.0 (stein)

no-reply at openstack.org no-reply at openstack.org
Thu Jan 3 17:38:00 UTC 2019


We high-spiritedly announce the release of:

oslo.service 1.34.0: oslo.service library

This release is part of the stein release series.

The source is available from:

    https://git.openstack.org/cgit/openstack/oslo.service

Download the package from:

    https://pypi.org/project/oslo.service

Please report issues through launchpad:

    https://bugs.launchpad.net/oslo.service

For more details, please see below.

1.34.0
^^^^^^


New Features
************

* The ThreadGroup class has new add_timer_args() and
  add_dynamic_timer_args() methods to create timers passing the
  positional and keyword arguments to the callback as a sequence and a
  mapping. This API provides more flexibility for the addition of
  timer control options in the future.

* The ThreadGroup add_timer_args() and add_dynamic_timer_args()
  methods now support passing a stop_on_exception=False argument to
  allow the timer to keep running even when an exception is raised by
  the callback function.


Deprecation Notes
*****************

* The "ThreadGroup.cancel()" method is deprecated and will be
  removed in a future major release.

* The API of the ThreadGroup add_timer() and add_dynamic_timer()
  methods has been identified as error-prone when passing arguments
  intended for the callback function. Passing callback arguments in
  this way is now deprecated. Callers should use the new
  add_timer_args() or add_dynamic_timer_args() methods (respectively)
  instead when it is necessary to pass arguments to the timer callback
  function.

Changes in oslo.service 1.33.0..1.34.0
--------------------------------------

ab29713 Use template for lower-constraints
fef1c15 Deprecate the ThreadGroup.cancel() API
55f897c Document the threadgroup module
130e49f Actually test child SIGHUP signal
159ef2e Restore correct signal handling in Python3
48c51fe Add stop_on_exception to TG timers
750b51c Add better timer APIs to ThreadGroup
ab74753 Update mailinglist from dev to discuss
d9855f0 Use SleepFixture in looping call test suite


Diffstat (except docs and test files)
-------------------------------------

.zuul.yaml                                         |  17 +-
oslo_service/service.py                            |   4 +-
oslo_service/threadgroup.py                        | 246 ++++++++++++++++++++-
.../notes/threadgroup-cancel-bd89d72f383a3d9b.yaml |   5 +
.../notes/timer-args-f578c8f9d08b217d.yaml         |  15 ++
.../timer-stop_on_exception-9f21d7c4d6d1b0d9.yaml  |   6 +
requirements.txt                                   |   1 +
setup.cfg                                          |   2 +-
11 files changed, 341 insertions(+), 25 deletions(-)


Requirements updates
--------------------

diff --git a/requirements.txt b/requirements.txt
index 4afebff..ecca359 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -5,0 +6 @@ WebOb>=1.7.1 # MIT
+debtcollector>=1.2.0 # Apache 2.0






More information about the Release-announce mailing list