pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/py-json-logger
Module Name: pkgsrc
Committed By: adam
Date: Sat Dec 27 08:39:40 UTC 2025
Modified Files:
pkgsrc/textproc/py-json-logger: Makefile distinfo
Log Message:
py-json-logger: updated to 4.0.0
4.0.0
Added
Support DictConfigurator prefixes for rename_fields and static_fields.
Allows using values like ext://sys.stderr in fileConfig/dictConfig value fields.
Support comma seperated lists for Formatter fmt (style=",") e.g. "asctime,message,levelname"
Note that this style is specific to python-json-logger and thus care should be taken not to pass this format to other logging Formatter implementations.
Supports sequences of strings (e.g. lists and tuples) of field names for Formatter fmt.
Changed
Rename pythonjsonlogger.core.LogRecord and log_record arguments to avoid confusion / overlapping with logging.LogRecord.
Affects arguments to pythonjsonlogger.core.BaseJsonFormatter (and any child classes).
serialize_log_record
add_fields
jsonify_log_record
process_log_record
Note: functions referring to log_record have not had their function name changed.
Removed
Remove support for providing strings instead of objects when instantiating formatters. Instead use the DictConfigurator ext:// prefix format when using fileConfig/dictConfig.
Affects pythonjsonlogger.json.JsonFormatter: json_default, json_encoder, json_serializer.
Affects pythonjsonlogger.orjson.OrjsonFormatter: json_default.
Affects pythonjsonlogger.msgspec.MsgspecFormatter: json_default.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/textproc/py-json-logger/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/textproc/py-json-logger/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/textproc/py-json-logger/Makefile
diff -u pkgsrc/textproc/py-json-logger/Makefile:1.5 pkgsrc/textproc/py-json-logger/Makefile:1.6
--- pkgsrc/textproc/py-json-logger/Makefile:1.5 Thu Oct 9 08:07:29 2025
+++ pkgsrc/textproc/py-json-logger/Makefile Sat Dec 27 08:39:40 2025
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2025/10/09 08:07:29 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2025/12/27 08:39:40 adam Exp $
-DISTNAME= python_json_logger-3.3.0
+DISTNAME= python_json_logger-4.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/python_//:S/_/-/}
-PKGREVISION= 1
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-json-logger/}
Index: pkgsrc/textproc/py-json-logger/distinfo
diff -u pkgsrc/textproc/py-json-logger/distinfo:1.3 pkgsrc/textproc/py-json-logger/distinfo:1.4
--- pkgsrc/textproc/py-json-logger/distinfo:1.3 Fri Mar 14 12:38:37 2025
+++ pkgsrc/textproc/py-json-logger/distinfo Sat Dec 27 08:39:40 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2025/03/14 12:38:37 adam Exp $
+$NetBSD: distinfo,v 1.4 2025/12/27 08:39:40 adam Exp $
-BLAKE2s (python_json_logger-3.3.0.tar.gz) = cb4dabd2ac773f7cbcc6cbd188079443528cf6aad03bce90ed310ad6e8377759
-SHA512 (python_json_logger-3.3.0.tar.gz) = 6779464281fd8b7e4171adcf50aedc7f362df62d99bbd1982b5bef657a3a2f1e2191c4aa0f5acd688dd3554af547f5d72e785e493e21dbaa342127c92da5daa5
-Size (python_json_logger-3.3.0.tar.gz) = 16642 bytes
+BLAKE2s (python_json_logger-4.0.0.tar.gz) = 2fb122606b0255d2b74ecea2e095dcd8b551cd1652edc03bef13ee8173109653
+SHA512 (python_json_logger-4.0.0.tar.gz) = bdbd900e5b44badec8279f98a017769296eef92e23d25b97cc71eb5da2791f096c4af7bb1c5f0f9b0a691d3006e8be12dd546ac3f1c010c8c0244a6d2b0addf2
+Size (python_json_logger-4.0.0.tar.gz) = 17683 bytes
Home |
Main Index |
Thread Index |
Old Index