From a2701f89e649be76530caedfdfecf550513487ed0f92d8cc1ea0ad1eec159c12 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Mon, 2 Jun 2025 17:10:38 +0000 Subject: [PATCH] - Update to 25.4.0: Added: * Support for Python 3.14 and Python 3.13.4. * Python 3.14 has an backwards-incompatible change to logging.Logger.isEnabledFor() (it now always returns False if a log entry is in flight) that has been backported to 3.13.4 (expected on 2025-06-03). It mainly affects structlog.stdlib.filter_by_level(). #723 * structlog.tracebacks now handles exception groups. structlog.tracebacks.Stack has two new fields, is_group: bool and exceptions: list[Trace]. This works similarly to what Rich v14.0.0 does. #720 Fixed: * structlog.processors.ExceptionPrettyPrinter now respects the exception_formatter arguments instead of always using the default formatter. #724 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-structlog?expand=0&rev=32 --- 25.3.0.tar.gz | 3 --- 25.4.0.tar.gz | 3 +++ python-structlog.changes | 16 ++++++++++++++++ python-structlog.spec | 2 +- 4 files changed, 20 insertions(+), 4 deletions(-) delete mode 100644 25.3.0.tar.gz create mode 100644 25.4.0.tar.gz diff --git a/25.3.0.tar.gz b/25.3.0.tar.gz deleted file mode 100644 index b9b8b79..0000000 --- a/25.3.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6b3f20467a04e00494e21fef70065a2787942bf2821dba199cdf35c2cd281577 -size 1371796 diff --git a/25.4.0.tar.gz b/25.4.0.tar.gz new file mode 100644 index 0000000..3b61061 --- /dev/null +++ b/25.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:45833c9b50a947e936dff0b0065919e292a38beef2461a218048d120e507789c +size 1375639 diff --git a/python-structlog.changes b/python-structlog.changes index 4f116cb..18f433f 100644 --- a/python-structlog.changes +++ b/python-structlog.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Mon Jun 2 17:09:13 UTC 2025 - Michael Vetter + +- Update to 25.4.0: + Added: + * Support for Python 3.14 and Python 3.13.4. + * Python 3.14 has an backwards-incompatible change to logging.Logger.isEnabledFor() + (it now always returns False if a log entry is in flight) that has been backported + to 3.13.4 (expected on 2025-06-03). It mainly affects structlog.stdlib.filter_by_level(). #723 + * structlog.tracebacks now handles exception groups. structlog.tracebacks.Stack has two + new fields, is_group: bool and exceptions: list[Trace]. This works similarly to what + Rich v14.0.0 does. #720 + Fixed: + * structlog.processors.ExceptionPrettyPrinter now respects the exception_formatter + arguments instead of always using the default formatter. #724 + ------------------------------------------------------------------- Mon Apr 28 10:25:13 UTC 2025 - Michael Vetter diff --git a/python-structlog.spec b/python-structlog.spec index 76c24fb..63836cf 100644 --- a/python-structlog.spec +++ b/python-structlog.spec @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-structlog -Version: 25.3.0 +Version: 25.4.0 Release: 0 Summary: Structured Logging for Python License: Apache-2.0 OR MIT