oslo.utils 7.4.0 (epoxy)
We are jazzed to announce the release of: oslo.utils 7.4.0 This release is part of the epoxy 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. 7.4.0 ^^^^^ New Features ************ * The new "VersionPredicate" class has been added to the "versionutils" module, which parses version predicate and check if the given version meets the described requirements. Upgrade Notes ************* * Support for Python 3.8 has been removed. Now the minimum python version supported is 3.9 . Deprecation Notes ***************** * The "oslo_utils.secretutils.constant_time_compare" function has been deprecated. Use the "compare_digest" function from the built-in "hmac" module. * The "md5" method from "oslo_utils.secretutils" module has been deprecated because "hashlib.md5" can be used instead in all supported python versions. Changes in oslo.utils 7.3.0..7.4.0 ---------------------------------- d84e30d Vendor VersionPredicate a3b61d9 Declare Python 3.12 support 3d4ae16 Allow multiple format hits if explicitly handled b86c3bd Abort the stream early if no match 2098309 Fix compatibility with netaddr 1.1.0 2ec1ce3 Drop dependency on netifaces 756af00 Use context manager for socket 899d782 Clarify GPT structure offset 1bd3e61 Deprecate redundant constant_time_compare function f7f21f8 Deprecate redundant md5 method fa2ecb2 Remove Python 3.8 support e927ac2 Squelch irrelevant format complaints ab4727b Add qemu-img to bindep 3c33e37 Avoid detecting FAT VBR as an MBR 51304dc Update master for stable/2024.2 8f65ecc Add LUKSv1 inspector Diffstat (except docs and test files) ------------------------------------- bindep.txt | 4 + oslo_utils/imageutils/format_inspector.py | 141 ++++++++++++++++++--- oslo_utils/netutils.py | 72 +++++++---- oslo_utils/secretutils.py | 53 ++------ oslo_utils/timeutils.py | 16 +-- oslo_utils/versionutils.py | 33 +++++ ...ate-constant_time_compare-53669f464c9811c1.yaml | 6 + .../notes/deprecate-md5-cc365c25c2a51a8c.yaml | 6 + .../notes/remove-py38-a22bb6c463f92868.yaml | 5 + .../notes/version-predicate-42f38f7b7e9187e1.yaml | 6 + releasenotes/source/2024.2.rst | 6 + releasenotes/source/index.rst | 1 + requirements.txt | 5 +- setup.cfg | 4 +- 18 files changed, 442 insertions(+), 164 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 07fe867..5c0c83f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8 +7,0 @@ oslo.i18n>=3.15.3 # Apache-2.0 -pytz>=2013.6;python_version<"3.9" # MIT @@ -10 +8,0 @@ netaddr>=0.10.0 # BSD -netifaces>=0.10.4 # MIT @@ -14 +12 @@ packaging>=20.4 # BSD -tzdata>=2022.4;python_version>="3.9" # MIT +tzdata>=2022.4 # MIT @@ -15,0 +14 @@ PyYAML>=3.13 # MIT +psutil>=3.2.2 # BST
participants (1)
-
no-reply@openstack.org