oslo.utils 10.1.0 (hibiscus)
We contentedly announce the release of: oslo.utils 10.1.0 This release is part of the hibiscus 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. 10.1.0 ^^^^^^ New Features ************ * The format_inspector module can now decrypt and inspect inside LUKS images, determine the contained format, and provide access to the inner inspector for safety checking. Upgrade Notes ************* * Note that the format_inspector module now requires the *cryptography* library. This is only installed when specifying the *image-inspection* extra when requiring oslo.utils. Deprecation Notes ***************** * The following time-mocking functions in "oslo_utils.timeutils" have been deprecated: "set_time_override()", "clear_time_override()", "advance_time_delta()", and "advance_time_seconds()". These functions manipulate global state and were created before modern mocking libraries became standard in Python. Use "unittest.mock.patch()" to mock "timeutils.utcnow()" instead. * The "oslo_utils.version" module and associated objects has been deprecated for removal. Prefer use of "importlib.metadata" to inspect version information for installed packages. Changes in oslo.utils 10.0.0..10.1.0 ------------------------------------ f3a409c tests: Tweak subprocess.check_output 36ffe01 tests: Fix occasional failure in format tests e4984bf LUKSInspector: Decrypt the first block 0ae38e3 Add params to FileInspector and associated tools ae3c52a Add ContainerFileInspector for wrapper formats 2cc4143 typing: Add overloads for excutils.forever_retry_uncaught_exceptions 207a522 typing: Add overloads for netutils.parse_host_port 2b3f5a6 Fix typo 8ded5f0 Deprecate version module 8a4957d tox: Use new constraints option 429fcc6 Refactor _UTCNow class to utcnow() function 5f1802a Deprecate legacy time override functions 125f958 typing: Add type annotations for testscenarios in StringToBytesTest 93a9b39 typing: Allow None default for bool_from_string b95f81e typing: Improve netutils.urlsplit signature 843c426 typing: Improve timeutils.StopWatch signature 6faa1d2 Fix return type of raise_with_cause a98e784 Update packaging configuration 9e627ca ruff: Configure hacking as external linter 7a25f15 Update master for stable/2026.1 219a995 Remove `debtcollector` dependency 3d937db Fix shallow masking of secrets 6a74320 Update CLI to allow enabling logging output 77c8f8b Refactor force_reraise ab5876e fix force_reraise to be annotated as NoReturn Diffstat (except docs and test files) ------------------------------------- oslo_utils/encodeutils.py | 12 +- oslo_utils/eventletutils.py | 7 +- oslo_utils/excutils.py | 48 +- oslo_utils/imageutils/_luks.py | 450 ++++++++++++ oslo_utils/imageutils/cli.py | 29 +- oslo_utils/imageutils/format_inspector.py | 256 ++++++- oslo_utils/netutils.py | 42 +- oslo_utils/strutils.py | 39 +- oslo_utils/timeutils.py | 109 ++- oslo_utils/version.py | 8 + pyproject.toml | 15 +- ...e-time-override-functions-0ab966b00cd14eb9.yaml | 10 + .../deprecate-version-module-f43a8502b10ec370.yaml | 6 + .../luks-inspection-extra-37e8516f24f31a3c.yaml | 11 + releasenotes/source/2026.1.rst | 6 + releasenotes/source/index.rst | 1 + requirements.txt | 1 - tox.ini | 9 +- 22 files changed, 2291 insertions(+), 129 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 45cb3d8..0a664f0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -13 +12,0 @@ netaddr>=0.10.0 # BSD -debtcollector>=1.2.0 # Apache-2.0
participants (1)
-
no-reply@openstack.org