diff options
author | adam <adam@pkgsrc.org> | 2018-02-06 08:09:07 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2018-02-06 08:09:07 +0000 |
commit | 6c90f074dc41be46ce637c4a2727f7c1b19d9af3 (patch) | |
tree | 8a1d0b732a709e6dc3e7118b93d6529bbf0157c2 /sysutils | |
parent | 11bf7beba220df02babe3f975c6b1dd01849316c (diff) | |
download | pkgsrc-6c90f074dc41be46ce637c4a2727f7c1b19d9af3.tar.gz |
py-structlog: updated to 18.1.0
18.1.0:
Deprecations:
- The meaning of the structlog[dev] installation target will change from "colorful output" to "dependencies to develop structlog" in 19.1.0.
The main reason behind this decision is that it's impossible to have a structlog in your normal dependencies and additionally a structlog[dev] for developement (pip will report an error).
Changes:
- Empty strings are valid events now.
- Do not encapsulate Twisted failures twice with newer versions of Twisted.
- structlog.dev.ConsoleRenderer now accepts a *force_colors* argument to output colored logs even if the destination is not a tty.
Use this option if your logs are stored in files that are intended to be streamed to the console.
- structlog.dev.ConsoleRenderer now accepts a *level_styles* argument for overriding the colors for individual levels, as well as to add new levels.
- structlog.stdlib.BoundLogger.exception() now uses the exc_info argument if it has been passed instead of setting it unconditionally to True.
- Default configuration now uses plain dict\ s on Python 3.6+ and PyPy since they are ordered by default.
- Added structlog.is_configured() to check whether or not structlog has been configured.
- Added structlog.get_config() to introspect current configuration.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/py-structlog/Makefile | 4 | ||||
-rw-r--r-- | sysutils/py-structlog/distinfo | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/sysutils/py-structlog/Makefile b/sysutils/py-structlog/Makefile index 13f90ff493b..8fb954ff310 100644 --- a/sysutils/py-structlog/Makefile +++ b/sysutils/py-structlog/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.5 2017/10/07 11:18:28 adam Exp $ +# $NetBSD: Makefile,v 1.6 2018/02/06 08:09:07 adam Exp $ -DISTNAME= structlog-17.2.0 +DISTNAME= structlog-18.1.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= sysutils python MASTER_SITES= ${MASTER_SITE_PYPI:=s/structlog/} diff --git a/sysutils/py-structlog/distinfo b/sysutils/py-structlog/distinfo index 18dee031f2d..a196407e47c 100644 --- a/sysutils/py-structlog/distinfo +++ b/sysutils/py-structlog/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.4 2017/10/07 11:18:28 adam Exp $ +$NetBSD: distinfo,v 1.5 2018/02/06 08:09:07 adam Exp $ -SHA1 (structlog-17.2.0.tar.gz) = 823f169e36ded14ed1674486eb635d57c67451aa -RMD160 (structlog-17.2.0.tar.gz) = 27c6a038197a267666d3d5320c7626b02c59b827 -SHA512 (structlog-17.2.0.tar.gz) = 1b3d1d9a735b534606ec63b378fccf8301b867946e90d88ed4e491000e0c77a2179d10d7238cd5e4f09d6b45c2cbfc4362e8a73cc567db7fd0bfac43059d260f -Size (structlog-17.2.0.tar.gz) = 312342 bytes +SHA1 (structlog-18.1.0.tar.gz) = d26b0c82f99ada0a7587846abbe64eb10f4e50ba +RMD160 (structlog-18.1.0.tar.gz) = e726ab73e8ff3a2d985bed89c2cba643ea3a8d98 +SHA512 (structlog-18.1.0.tar.gz) = 3f0411947102cbe5b7422e3c4296158820ebfd2b43c79488cea9c5101ad861892a0c165bcdac3d179fc93b29e447f8b1ac100751b0dfe8b0fc92dafb33919605 +Size (structlog-18.1.0.tar.gz) = 317033 bytes |