oslo.config

An OpenStack library for parsing configuration options from the command line and configuration files.

Release Notes

1.2.0

  • 1223667: Fix DictOpt to split only the first colon
  • 1228995: Disallow duplicate keys in DictOpt
  • Explicit version removed from setup.cfg
  • Dependency version updates

1.2.0a4

  • Add auto-create support for OptGroup instances (see review 41865)
  • Publish full API docs to docs.openstack.org
  • Finished Python 3 support
  • 1196601: Raise an exception if print_help() is called before __call__
  • Fix DeprecatedOpt equality test
  • Use oslo.sphinx

1.2.0a3

  • 1176817: Fix the priority of CLI args vs config file values
  • 1123043: New ‘choices’ param to StrOpt constructor
  • cfg-reload-config-files: Add new ConfigOpts.reload_config_files() method
  • 1194742: Fix regression which meant we weren’t registering our namespace package
  • 1185959: Make –help output order alphabetical
  • More progress on python3 support
  • Fix obscure cache clearing race condition
  • Move from tools/pip-requires to requirements.txt
  • Include missing .testr.conf in dist tarball

1.2.0a2

  • Fix MultiConfigParser API breakage in 1.2.0a1

1.2.0a1

  • Solid progress has been made adding Python 3 support.
  • cfg-lowercase-groups: uppercase section names in config files are now normalized to lowercase.
  • Support has been added for dictionary style options with the DictOpt class.
  • Multiple deprecated option names per option are now supported via the deprecated_opts argument.
  • The package build process now uses pbr.
  • The package tests are now run using testr.
  • The package coding style checks are now performed using hacking.

1.1.1

  • 1160922: Fix set_defaults() to handle multiple arguments
  • 1175096: Fix the title argument to OptGroup

Indices and tables

Table Of Contents

Next topic

The cfg Module

This Page