./devel/py-zconfig, Configuration library

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 3.6.0, Package name: py38-zconfig-3.6.0, Maintainer: pkgsrc-users

ZConfig is a configuration library intended for general use. It
supports a hierarchical schema-driven configuration model that allows
a schema to specify data conversion routines written in Python.
ZConfig's model is very different from the model support by the
ConfigParser module found in Python's standard library, and is more
suitable to configuration-intensive applications.

Required to run:
[devel/py-setuptools] [lang/python37]

Required to build:

Master sites:

SHA1: bcce1cdd23a275a5f720c869f401a990699cc13f
RMD160: 81caccac00a05bb42e813642f836df0e5720221c
Filesize: 131.405 KB

Version history: (Expand)

CVS history: (Expand)

   2021-05-25 07:38:30 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-zconfig: updated to 3.6.0

3.6.0 (2021-05-19)

- Added support for Python 3.8, 3.9 and 3.10.  This primarily involves
  avoiding the new-in-3.8 validation of the format string when using the
  'safe-template' format style, since that's not supported in the Python
  standard library.

- Added ``ZConfig.pygments`` module containing a lexer compatible with
  the ``pygments`` library.  Made discoverable via an entry point; use
  **zconfig** as the highlight language for ``code-block`` directives in
  Sphinx documents.
   2019-08-13 12:55:19 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-zconfig: updated to 3.5.0

- Add support for documenting schema files contained in packages to
  the Sphinx extension.
   2019-02-18 13:48:58 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-zconfig: updated to 3.4.0


Many changes have been made in the support for logging configurations:

- The log handler section types defined by the
  ZConfig.components.logger package support additional, optional

      Used to configure alternate format styles as found in the Python 3
      standard library.  Four style values are supported:
      classic (the default), format (equivalent to style='{'
      in Python 3), template (equivalent to style='$'), and
      safe-template (similar to template, but using the
      string.Template method safe_substitute method).  A
      best-effort implementation is provided for Python 2.

      A Boolean defauting to False for backward compatibility,
      allows arbitrary replacement field names to be accepted in the
      format string (regardless of the style setting).  This
      supports applications where log records are known to be generated
      with additional string or numeric fields, at least for some
      loggers.  (An exception is still raised at format time if the
      additional fields are not provided, unless the style value
      safe-template is used.)

- The logfile section type defined by the ZConfig.components.logger
  package supports the optional delay and encoding parameters.
  These can only be used for regular files, not the special STDOUT
  and STDERR streams.

- More validation on the parameters to the logfile and
  email-notifier sections is performed early (at the construction of
  the factory, rather than at creation of the logging handler).
  This allows more checking of parameter combinations before any log
  files are opened.

- The ZConfig.components.logger.handlers.log_format data type
  function now supports formats that include numeric formatting for
  levelno, and accept funcName as a valid log record field
  (added in Python 2.6 and 3.1).
   2018-10-23 11:46:43 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
py-zconfig: updated to 3.3.0

- Drop support for Python 3.3.
- Add support for Python 3.7.
- Drop support for 'python setup.py test'.
- Add support for example in section and multisection, and
  include those examples in generated documentation.
- Fix configuration loaders to decode byte data using UTF-8 instead of
  the default encoding (usually ASCII).
   2018-01-24 11:17:04 by Adam Ciarcinski | Files touched by this commit (3)
Log message:
py-zconfig: use ALTERNATIVES; clean-up
   2017-11-25 13:39:16 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
py-zconfig: update to 3.2.0.

3.2.0 (2017-06-22)

- Drop support for Python 2.6 and 3.2 and add support for Python 3.6.

- Run tests with pypy and pypy3 as well.

- Host docs at https://zconfig.readthedocs.io

- BaseLoader is now an abstract class that cannot be instantiated.

- Allow ``nan``, ``inf`` and ``-inf`` values for floats in
  configurations. See

- Scripts ``zconfig`` (for schema validation) and
  ``zconfig_schema2html`` are ported to Python 3.

- A new ``ZConfig.sphinx`` `Sphinx extension
  facilitates automatically documenting ZConfig components using their
  description and examples in Sphinx documentation. See

- Simplify internal schema processing of max and min occurrence
  values. See https://github.com/zopefoundation/ZConfig/issues/15.

- Almost all uses of ``type`` as a parameter name have been replaced
  with ``type_`` to avoid shadowing a builtin. These were typically
  not public APIs and weren't expected to be called with keyword
  arguments so there should not be any user-visible changes. See

3.1.0 (2015-10-17)

- Add ability to do variable substitution from environment variables using
  $() syntax.

3.0.4 (2014-03-20)

- Added Python 3.4 support.

3.0.3 (2013-03-02)

- Added Python 3.2 support.

3.0.2 (2013-02-14)

- Fixed ResourceWarning in BaseLoader.openResource().

3.0.1 (2013-02-13)

- Removed an accidentally left `pdb` statement from the code.

- Fix a bug in Python 3 with the custom string `repr()` function.

3.0.0 (2013-02-13)

- Added Python 3.3 support.

- Dropped Python 2.4 and 2.5 support.

2.9.3 (2012-06-25)

- Fixed: port values of 0 weren't allowed.  Port 0 is used to request
  an ephemeral port.

2.9.2 (2012-02-11)

- Adjust test classes to avoid base classes being considered separate
  test cases by (at least) the "nose" test runner.

2.9.1 (2012-02-11)

- Make FileHandler.reopen thread safe.

2.9.0 (2011-03-22)

- Allow identical redefinition of ``%define`` names.
- Added support for IPv6 addresses.

2.8.0 (2010-04-13)

- Fix relative path recognition.

- Added SMTP authentication support for email logger on Python 2.6.

2.7.1 (2009-06-13)

- Improved documentation

- Fixed tests failures on windows.

2.7.0 (2009-06-11)

- Added a convenience function, ``ZConfig.configureLoggers(text)`` for
  configuring loggers.

- Relaxed the requirement for a logger name in logger sections,
  allowing the logger section to be used for both root and non-root
   2017-09-04 20:01:05 by Thomas Klausner | Files touched by this commit (192)
Log message:
Comment out dead sites.
   2017-01-01 15:44:09 by Thomas Klausner | Files touched by this commit (577)
Log message:
Add python-3.6 to incompatible versions.