Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-python-json-logger for
openSUSE:Factory checked in at 2026-04-07 16:33:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-json-logger (Old)
and /work/SRC/openSUSE:Factory/.python-python-json-logger.new.21863 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-python-json-logger"
Tue Apr 7 16:33:29 2026 rev:13 rq:1344791 version:4.1.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-python-json-logger/python-python-json-logger.changes
2024-11-17 16:39:57.908158186 +0100
+++
/work/SRC/openSUSE:Factory/.python-python-json-logger.new.21863/python-python-json-logger.changes
2026-04-07 16:49:03.460909186 +0200
@@ -1,0 +2,83 @@
+Mon Apr 6 20:39:32 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 4.1.0:
+ * Add support for Python 3.14, PyPy 3.11
+ * Remove support for Python 3.8, 3.9 (includes PyPy versions).
+- update to 4.0.0:
+ * Support `DictConfigurator` prefixes for `rename_fields` and
+ `static_fields`. #45
+ * 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"` #15
+ * 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`. #16
+ * Rename `pythonjsonlogger.core.LogRecord` and `log_record`
+ arguments to avoid confusion / overlapping with
+ `logging.LogRecord`. #38
+- update to 3.3.0:
+ * `exc_info_as_array` and `stack_info_as_array` options are
+ added to `pythonjsonlogger.core.BaseJsonFormatter` allowing
+ both to be encoded as list of lines instead of a single
+ multi-line string. #35
+ * Remove `msgspec-python313-pre` from `dev` dependencies
+ preventing potential RCE. Details: GHSA-wmxh-pxcx-9w24
+- update to 3.2.1:
+ * Import error on `import pythonjsonlogger.jsonlogger` #29
+- update to 3.2.0:
+ * `pythonjsonlogger.[ORJSON,MSGSPEC]_AVAILABLE` no longer
+ imports the respective package when determining availability.
+ * `pythonjsonlogger.[orjson,msgspec]` now throws a
+ `pythonjsonlogger.exception.MissingPackageError` when
+ required libraries are not available. These contain more
+ information about what is missing whilst still being an
+ `ImportError`.
+ * `defaults` parameter is no longer ignored and now conforms to
+ the standard library. Setting a defaults dictionary will add
+ the specified keys if the those keys do not exist in a record
+ or weren't passed by the `extra` parameter when logging a
+ message.
+ * `typing_extensions` is only installed on Python version <
+ 3.10.
+ * Support Python 3.13
+ * `msgspec` has only been tested against pre-release versions.
+ * Thanks @cjwatson and @bharel
+- update to 3.1.0:
+ * This splits common funcitonality out to allow supporting
+ other JSON encoders. Although this is a large refactor,
+ backwards compatibility has been maintained.
+ * `pythonjsonlogger.core` - more details below.
+ * `pythonjsonlogger.defaults` module that provides many
+ functions for handling unsupported types.
+ * Orjson encoder support via
+ `pythonjsonlogger.orjson.OrjsonFormatter` with the following
+ additions:
+ * bytes are URL safe base64 encoded.
+ * Exceptions are "pretty printed" using the exception name and
+ message e.g. `"ValueError: bad value passed"`
+ * Enum values use their value, Enum classes now return all
+ values as a list.
+ * Tracebacks are supported
+ * Classes (aka types) are support
+ * Will fallback on `__str__` if available, else `__repr__` if
+ available, else will use `__could_not_encode__`
+ * MsgSpec encoder support via
+ `pythonjsonlogger.msgspec.MsgspecFormatter` with the
+ following additions:
+ * Exceptions are "pretty printed" using the exception name and
+ message e.g. `"ValueError: bad value passed"`
+ * Enum classes now return all values as a list.
+ * Tracebacks are supported
+ * Classes (aka types) are support
+ * Will fallback on `__str__` if available, else `__repr__` if
+ available, else will use `__could_not_encode__`
+ * Note: msgspec only supprts enum values of type `int` or `str`
+ jcrist/msgspec#680
+ - Remove obsolete patches:
+ * support-python312.patch
+ * support-python313.patch
+
+-------------------------------------------------------------------
Old:
----
python-json-logger-2.0.7.tar.gz
support-python312.patch
support-python313.patch
New:
----
python_json_logger-4.1.0.tar.gz
----------(Old B)----------
Old: - Remove obsolete patches:
* support-python312.patch
* support-python313.patch
Old: * support-python312.patch
* support-python313.patch
----------(Old E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-python-json-logger.spec ++++++
--- /var/tmp/diff_new_pack.6oprDe/_old 2026-04-07 16:49:04.060933999 +0200
+++ /var/tmp/diff_new_pack.6oprDe/_new 2026-04-07 16:49:04.064934164 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-python-json-logger
#
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,18 +18,17 @@
%{?sle15_python_module_pythons}
Name: python-python-json-logger
-Version: 2.0.7
+Version: 4.1.0
Release: 0
Summary: A python library adding a json log formatter
License: BSD-2-Clause
-URL: https://github.com/madzak/python-json-logger
-Source:
https://files.pythonhosted.org/packages/source/p/python-json-logger/python-json-logger-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM gh#madzak/python-json-logger#183
-Patch0: support-python312.patch
-# PATCH-FIX-UPSTREAM gh#madzak/python-json-logger#192
-Patch1: support-python313.patch
+URL: https://github.com/nhairs/python-json-logger
+Source:
https://files.pythonhosted.org/packages/source/p/python-json-logger/python_json_logger-%{version}.tar.gz
+BuildRequires: %{python_module freezegun}
BuildRequires: %{python_module pip}
+BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module tzdata}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -40,7 +39,7 @@
A python library adding a json log formatter.
%prep
-%autosetup -p1 -n python-json-logger-%{version}
+%autosetup -p1 -n python_json_logger-%{version}
%build
%pyproject_wheel
@@ -50,7 +49,7 @@
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-%pyunittest discover -v
+%pytest
%files %{python_files}
%doc README.md