[release-announce] oslo.utils 6.2.0 (bobcat)

no-reply at openstack.org no-reply at openstack.org
Thu Jul 6 09:00:41 UTC 2023


We are jazzed to announce the release of:

oslo.utils 6.2.0: Oslo Utility library

This release is part of the bobcat release series.

The source is available from:

    https://opendev.org/openstack/oslo.utils

Download the package from:

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

Please report issues through:

    https://bugs.launchpad.net/oslo.utils/+bugs

For more details, please see below.

6.2.0
^^^^^


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

* New method "netutils.get_my_ipv6()" returns the IPv6 address of
  the local machine.


Other Notes
***********

* Implement zoneinfo to allow us to remove pytz's dependency for
  Python 3.9 and 3.10.

Changes in oslo.utils 6.1.0..6.2.0
----------------------------------

77c90bd Replace deprecated assertAlmostEquals method
c08e46d strutils: update string_to_bytes
650b31f Add netutils.get_my_ipv6()
7281cb9 Bump bandit
2c8668c Fix compatibility with Python 3.8
541ba30 Revert "Moves supported python runtimes from version 3.8 to 3.10"
8c63440 Moves supported python runtimes from version 3.8 to 3.10
4cc5693 Update units for current SI prefixes
7d9fda6 Implement zoneinfo support to drop dependency to pytz
26a920e Use the new openstack-python3-jobs template
067a0db Update master for stable/2023.1


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

.zuul.yaml                                         |  2 +-
oslo_utils/netutils.py                             | 46 ++++++++++++++++++++++
oslo_utils/strutils.py                             | 33 ++++++++++++----
oslo_utils/timeutils.py                            | 18 +++++++--
oslo_utils/units.py                                |  8 ++++
...t-zoneinfo-to-remove-pytz-fba6f70db09ecdb8.yaml |  5 +++
.../netutils-get_my_ipv6-c9f124374655326b.yaml     |  5 +++
releasenotes/source/2023.1.rst                     |  6 +++
releasenotes/source/index.rst                      |  1 +
requirements.txt                                   |  1 +
setup.cfg                                          |  1 +
test-requirements.txt                              |  2 +-
15 files changed, 159 insertions(+), 28 deletions(-)


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

diff --git a/requirements.txt b/requirements.txt
index 37374ac..cc0b9a1 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -13,0 +14 @@ packaging>=20.4 # BSD
+tzdata>=2022.4 # MIT
diff --git a/test-requirements.txt b/test-requirements.txt
index f225ea4..6a28448 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -24 +24 @@ oslo.config>=5.2.0 # Apache-2.0
-bandit>=1.6.0,<1.7.0 # Apache-2.0
+bandit>=1.7.0,<1.8.0 # Apache-2.0






More information about the Release-announce mailing list