We are gleeful to announce the release of: oslo.config 10.6.0 This release is part of the hibiscus release series. The source is available from: https://opendev.org/openstack/oslo.config Download the package from: https://pypi.org/project/oslo.config Please report issues through: https://bugs.launchpad.net/oslo.config/+bugs For more details, please see below. 10.6.0 ^^^^^^ New Features * "ConfigOpts" instances can now export and import a serialized state and use that state for pickle serialization. This allows configuration state to be passed to multiprocessing workers that use the "spawn" start method. The serialized state preserves registered options and groups, parsed command-line and config-file values, defaults, overrides, and setup metadata. Process-local helpers such as argparse parsers, caches, extension managers, mutation hooks, and environment drivers are intentionally excluded from the serialized state. Loaded configuration source objects are rejected with "ConfigOptsSerializationError" instead of being silently dropped. Changes in oslo.config 10.5.0..10.6.0 ------------------------------------- 0297093 Name ConfigOpts serialized state version 68f3d39 ruff: Enable log-related checks 4c77204 Support ConfigOpts state snapshots for spawn workers 6635ee6 zuul: Use openstack-python3-next-jobs template e4f0766 pre-commit: Bump versions a0725f1 Run doc8 dd0f9d5 Do not install code to build release notes 75eeb37 Loose validation for schemes 7a5d776 Better support Sphinx doc generation with custom option types a4eccbf typing: Accept Sequence to ConfigOpts.__call__ Diffstat (except docs and test files) ------------------------------------- .pre-commit-config.yaml | 9 +- .zuul.yaml | 3 + oslo_config/cfg.py | 304 ++++++++++++- oslo_config/sphinxconfiggen.py | 2 +- oslo_config/sphinxext.py | 11 +- oslo_config/types.py | 4 +- oslo_config/validator.py | 21 +- pyproject.toml | 2 +- ...gopts-serialization-spawn-9f6d3a1c2b4e5f70.yaml | 14 + tox.ini | 2 +- 13 files changed, 878 insertions(+), 26 deletions(-)
participants (1)
-
no-reply@openstack.org