-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update python-python-json-logger to version 2.0.7 / rev 11 via SR 114…
…3998 https://build.opensuse.org/request/show/1143998 by user bnavigator + anag+factory - Add patch support-python312.patch: * Support logging changes in Python 3.12+.
- Loading branch information
1 parent
204c1fa
commit 817556f
Showing
5 changed files
with
43 additions
and
2 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
packages/p/python-python-json-logger/python-python-json-logger.changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
------------------------------------------------------------------- | ||
Thu Feb 1 01:18:35 UTC 2024 - Steve Kowalik <[email protected]> | ||
|
||
- Add patch support-python312.patch: | ||
* Support logging changes in Python 3.12+. | ||
|
||
------------------------------------------------------------------- | ||
Tue Jan 2 22:49:44 UTC 2024 - Dirk Müller <[email protected]> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
packages/p/python-python-json-logger/support-python312.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
From 7c8d06925305c578a1dc7a45d6180c2876cfc082 Mon Sep 17 00:00:00 2001 | ||
From: finswimmer <[email protected]> | ||
Date: Mon, 9 Oct 2023 13:56:38 +0200 | ||
Subject: [PATCH] feat: add taskName to RESERVED_ATTRS | ||
|
||
taskName was added in Python 3.12 | ||
--- | ||
src/pythonjsonlogger/jsonlogger.py | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
Index: python-json-logger-2.0.7/src/pythonjsonlogger/jsonlogger.py | ||
=================================================================== | ||
--- python-json-logger-2.0.7.orig/src/pythonjsonlogger/jsonlogger.py | ||
+++ python-json-logger-2.0.7/src/pythonjsonlogger/jsonlogger.py | ||
@@ -21,7 +21,8 @@ RESERVED_ATTRS: Tuple[str, ...] = ( | ||
'args', 'asctime', 'created', 'exc_info', 'exc_text', 'filename', | ||
'funcName', 'levelname', 'levelno', 'lineno', 'module', | ||
'msecs', 'message', 'msg', 'name', 'pathname', 'process', | ||
- 'processName', 'relativeCreated', 'stack_info', 'thread', 'threadName') | ||
+ 'processName', 'relativeCreated', 'stack_info', 'thread', 'threadName', | ||
+ 'taskName') | ||
|
||
|
||
|