pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils/py-structlog



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Sep 30 07:01:52 UTC 2020

Modified Files:
        pkgsrc/sysutils/py-structlog: Makefile PLIST distinfo

Log Message:
py-structlog: updated to 20.1.0

20.1.0

Deprecations:
- This is the last version to support Python 2.7 (including PyPy) and 3.5.
  All following versions will only support Python 3.6 or later.

Changes:
- Added a new module ``structlog.contextvars`` that allows to have a global but context-local ``structlog`` context the same way as with ``structlog.threadlocal`` since 19.2.0.
- Added a new module ``structlog.testing`` for first class testing support.
  The first entry is the context manager ``capture_logs()`` that allows to make assertions about structured log calls.
- Added ``structlog.threadlocal.unbind_threadlocal()``.
- The logger created by ``structlog.get_logger()`` is not detected as an abstract method anymore, when attached to an abstract base class.
- ``colorama`` isn't initialized lazily on Windows anymore because it breaks rendering.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/sysutils/py-structlog/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/sysutils/py-structlog/PLIST
cvs rdiff -u -r1.8 -r1.9 pkgsrc/sysutils/py-structlog/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/py-structlog/Makefile
diff -u pkgsrc/sysutils/py-structlog/Makefile:1.9 pkgsrc/sysutils/py-structlog/Makefile:1.10
--- pkgsrc/sysutils/py-structlog/Makefile:1.9   Sat Oct 19 14:41:27 2019
+++ pkgsrc/sysutils/py-structlog/Makefile       Wed Sep 30 07:01:52 2020
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2019/10/19 14:41:27 adam Exp $
+# $NetBSD: Makefile,v 1.10 2020/09/30 07:01:52 adam Exp $
 
-DISTNAME=      structlog-19.2.0
+DISTNAME=      structlog-20.1.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    sysutils python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=s/structlog/}
@@ -14,7 +14,6 @@ DEPENDS+=     ${PYPKGPREFIX}-six-[0-9]*:../.
 TEST_DEPENDS+= ${PYPKGPREFIX}-freezegun>=0.2.8:../../devel/py-freezegun
 TEST_DEPENDS+= ${PYPKGPREFIX}-pretend-[0-9]*:../../devel/py-pretend
 TEST_DEPENDS+= ${PYPKGPREFIX}-simplejson-[0-9]*:../../converters/py-simplejson
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
 TEST_DEPENDS+= ${PYPKGPREFIX}-twisted-[0-9]*:../../net/py-twisted
 

Index: pkgsrc/sysutils/py-structlog/PLIST
diff -u pkgsrc/sysutils/py-structlog/PLIST:1.2 pkgsrc/sysutils/py-structlog/PLIST:1.3
--- pkgsrc/sysutils/py-structlog/PLIST:1.2      Sat Oct  7 11:18:28 2017
+++ pkgsrc/sysutils/py-structlog/PLIST  Wed Sep 30 07:01:52 2020
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2017/10/07 11:18:28 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2020/09/30 07:01:52 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -26,6 +26,9 @@ ${PYSITELIB}/structlog/_loggers.pyo
 ${PYSITELIB}/structlog/_utils.py
 ${PYSITELIB}/structlog/_utils.pyc
 ${PYSITELIB}/structlog/_utils.pyo
+${PYSITELIB}/structlog/contextvars.py
+${PYSITELIB}/structlog/contextvars.pyc
+${PYSITELIB}/structlog/contextvars.pyo
 ${PYSITELIB}/structlog/dev.py
 ${PYSITELIB}/structlog/dev.pyc
 ${PYSITELIB}/structlog/dev.pyo
@@ -38,6 +41,9 @@ ${PYSITELIB}/structlog/processors.pyo
 ${PYSITELIB}/structlog/stdlib.py
 ${PYSITELIB}/structlog/stdlib.pyc
 ${PYSITELIB}/structlog/stdlib.pyo
+${PYSITELIB}/structlog/testing.py
+${PYSITELIB}/structlog/testing.pyc
+${PYSITELIB}/structlog/testing.pyo
 ${PYSITELIB}/structlog/threadlocal.py
 ${PYSITELIB}/structlog/threadlocal.pyc
 ${PYSITELIB}/structlog/threadlocal.pyo

Index: pkgsrc/sysutils/py-structlog/distinfo
diff -u pkgsrc/sysutils/py-structlog/distinfo:1.8 pkgsrc/sysutils/py-structlog/distinfo:1.9
--- pkgsrc/sysutils/py-structlog/distinfo:1.8   Sat Oct 19 14:41:27 2019
+++ pkgsrc/sysutils/py-structlog/distinfo       Wed Sep 30 07:01:52 2020
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.8 2019/10/19 14:41:27 adam Exp $
+$NetBSD: distinfo,v 1.9 2020/09/30 07:01:52 adam Exp $
 
-SHA1 (structlog-19.2.0.tar.gz) = 680046b43650724d9faa5b51b7ea528b458000b6
-RMD160 (structlog-19.2.0.tar.gz) = 28af19ef74217986f119fa0217e6ec7d5de98f93
-SHA512 (structlog-19.2.0.tar.gz) = 9211ed7ebc146d90b10e5527583b9bfc243a0c18af30da2e88279cbd40b1d6639ed88e12a51a29f43c8a02703f8829422cb4b90971acd7e03e2f624bec6c4fe2
-Size (structlog-19.2.0.tar.gz) = 327709 bytes
+SHA1 (structlog-20.1.0.tar.gz) = 8e0fe9ee26c4d39a0b96be7ceeea12e3565ba691
+RMD160 (structlog-20.1.0.tar.gz) = 30cdae480081f30c8f51aba859eec94758e7d2af
+SHA512 (structlog-20.1.0.tar.gz) = 87e4909e4a8cee396cc9b78212f13819632c303448bea28e78d574b981435aa29dc5620d59785788ae165af805761cbf97fa4d1ec49a3bf3b887ae76c91b18f3
+Size (structlog-20.1.0.tar.gz) = 332376 bytes



Home | Main Index | Thread Index | Old Index