Unreleased Release Notes¶
10.7.0¶
New Features¶
There is now new sample_min and sample_max attributes to the int configuration object. They may be use to replace the min and max values when generating the configuration file with oslo-config-generator. For example, if one wants max=processutils.get_worker_count(), it is desirable to set a sample_max value (ie: sample_max=’<WORKER_COUNT>’) to avoid that the number of CPU of the builder machine leaks in the generated configuration file.
10.6.0¶
New Features¶
ConfigOptsinstances 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 thespawnstart 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, typically created through the
config_sourceoption or--config_sourceargument, are rejected withConfigOptsSerializationErrorinstead of being silently dropped.
10.5.0¶
Upgrade Notes¶
Support for Python 3.10 has been removed. Now the minimum python version supported is 3.11.
Deprecation Notes¶
The
oslo_config.versionmodule and associated objects has been deprecated for removal. Prefer use ofimportlib.metadatato inspect version information for installed packages.