diff options
author | adam <adam@pkgsrc.org> | 2020-09-30 07:01:52 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2020-09-30 07:01:52 +0000 |
commit | dd635d473c47f63c5beda88733a45a051cd52f59 (patch) | |
tree | 3bde6093ea87ca8f0c149770b69722b0aca09ab8 /sysutils/py-structlog | |
parent | ed04f52d98b1445037658206a716c89c15363986 (diff) | |
download | pkgsrc-dd635d473c47f63c5beda88733a45a051cd52f59.tar.gz |
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.
Diffstat (limited to 'sysutils/py-structlog')
-rw-r--r-- | sysutils/py-structlog/Makefile | 5 | ||||
-rw-r--r-- | sysutils/py-structlog/PLIST | 8 | ||||
-rw-r--r-- | sysutils/py-structlog/distinfo | 10 |
3 files changed, 14 insertions, 9 deletions
diff --git a/sysutils/py-structlog/Makefile b/sysutils/py-structlog/Makefile index baa1e9413a9..4f443330feb 100644 --- a/sysutils/py-structlog/Makefile +++ b/sysutils/py-structlog/Makefile @@ -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]*:../../lang/py-six 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 diff --git a/sysutils/py-structlog/PLIST b/sysutils/py-structlog/PLIST index ac407108127..437ab55835b 100644 --- a/sysutils/py-structlog/PLIST +++ b/sysutils/py-structlog/PLIST @@ -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 diff --git a/sysutils/py-structlog/distinfo b/sysutils/py-structlog/distinfo index 1891356808e..24021cd1dda 100644 --- a/sysutils/py-structlog/distinfo +++ b/sysutils/py-structlog/distinfo @@ -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 |