pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/py-structlog py-structlog: updated to 18.1.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/d7c1ea96a47d
branches: trunk
changeset: 375223:d7c1ea96a47d
user: adam <adam%pkgsrc.org@localhost>
date: Tue Feb 06 08:09:07 2018 +0000
description:
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:
sysutils/py-structlog/Makefile | 4 ++--
sysutils/py-structlog/distinfo | 10 +++++-----
2 files changed, 7 insertions(+), 7 deletions(-)
diffs (27 lines):
diff -r 6f816338b166 -r d7c1ea96a47d sysutils/py-structlog/Makefile
--- a/sysutils/py-structlog/Makefile Tue Feb 06 08:05:39 2018 +0000
+++ b/sysutils/py-structlog/Makefile Tue Feb 06 08:09:07 2018 +0000
@@ -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 -r 6f816338b166 -r d7c1ea96a47d sysutils/py-structlog/distinfo
--- a/sysutils/py-structlog/distinfo Tue Feb 06 08:05:39 2018 +0000
+++ b/sysutils/py-structlog/distinfo Tue Feb 06 08:09:07 2018 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index