NEWS for lazr.config¶
Fix tests with zope.interface >= 5.0.0.
Fix deprecation warning on Python >= 3.2. (LP: #1870199)
Officially add support for Python 3.7 and 3.8. The test suite required some changes since the repr of datetime.timedelta objects changed in 3.7.
Adjust versioning strategy to avoid importing pkg_resources, which is slow in large environments.
Fix tox import failure related to https://github.com/tox-dev/tox/issues/453 (LP: #1662701)
Don’t catch ImportErrors that might occur when importing lazr.config._config from lazr/config/__init__.py. It’s unnecessary and masks legitimate ImportErrors of e.g. lazr.delegates.
setup.py: nose is not an install_requires, so move this dependency to tox.ini. (LP: #1649726)
tox.ini: Add the py36 environment and drop py32, py33. Ignore missing interpreters. Change to a temporary directory when running tox (to avoid the above tox bug). Invoke nose via -m instead of the mostly deprecated
Always use old-style namespace package registration in
lazr/__init__.pysince the mere presence of this file subverts PEP 420 style namespace packages. (LP: #1407816)
For behavioral compatibility between Python 2 and 3, strict=False must be passed to the underlying RawConfigParser under Python 3. (LP: #1397779)
Drop the use of distribute in favor of setuptools. (LP: #1359926)
Run the test suite with tox.
Ported to Python 3.
Now more strict in its requirement of ASCII in config files.
Category names are now sorted by default.
Fixed a build problem.
Got rid of a sys.path hack.
License clarification: only v3 of the LGPL is offered at this time, not subsequent versions.
Build is updated to support Sphinx docs and other small changes.
Support for adding arbitrary sections in a configuration file, based on a .master section in the schema. The .master section allows admins to define configurations for an arbitrary number of processes. If the schema defines .master sections, then the conf file can contain sections that extend the .master section. These are like categories with templates except that the section names extending .master need not be named in the schema file. [Bug 310619]
ConfigSchema now provides an interface for constructing the schema from a string. [Bug 309859]
Added as_boolean() and as_log_level() type converters. [Bug 310782]
getByCategory() accepts a default argument. If the category is missing, the default argument is returned. If the category is missing and no default argument is given, a NoCategoryError is raised, as before. [Bug 309988]