From 6c947d8afb3f7013ef2b1c232405cff63fdcbfc8f369366c075f5ad865510fe1 Mon Sep 17 00:00:00 2001 From: John Vandenberg Date: Tue, 9 Feb 2021 00:39:34 +0000 Subject: [PATCH] Accepting request 870371 from home:jayvdb:branches:devel:languages:python - Update t0 v0.5.3 OBS-URL: https://build.opensuse.org/request/show/870371 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-loguru?expand=0&rev=8 --- loguru-0.4.1.tar.gz | 3 --- loguru-0.5.3.tar.gz | 3 +++ python-loguru.changes | 60 +++++++++++++++++++++++++++++++++++++++++++ python-loguru.spec | 2 +- 4 files changed, 64 insertions(+), 4 deletions(-) delete mode 100644 loguru-0.4.1.tar.gz create mode 100644 loguru-0.5.3.tar.gz diff --git a/loguru-0.4.1.tar.gz b/loguru-0.4.1.tar.gz deleted file mode 100644 index b081390..0000000 --- a/loguru-0.4.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a6101fd435ac89ba5205a105a26a6ede9e4ddbb4408a6e167852efca47806d11 -size 115844 diff --git a/loguru-0.5.3.tar.gz b/loguru-0.5.3.tar.gz new file mode 100644 index 0000000..16ad078 --- /dev/null +++ b/loguru-0.5.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b28e72ac7a98be3d28ad28570299a393dfcd32e5e3f6a353dec94675767b6319 +size 122800 diff --git a/python-loguru.changes b/python-loguru.changes index 6d7bc5d..da3177d 100644 --- a/python-loguru.changes +++ b/python-loguru.changes @@ -1,3 +1,63 @@ +------------------------------------------------------------------- +Mon Feb 8 22:31:43 UTC 2021 - John Vandenberg + +- Update t0 v0.5.3 + * Fix child process possibly hanging at exit while combining + enqueue=True with third party library like uwsgi + * Fix possible exception during formatting of non-string messages +- from v0.5.2 + * Fix AttributeError within handlers using serialize=True when + calling logger.exception() outside of the context of an exception + * Fix error while logging an exception containing a non-picklable + value to a handler with enqueue=True + * Add support for async callable classes used as sinks +- from v0.5.1 + * Modify the way the extra dict is used by LogRecord in order to + prevent possible KeyError with standard logging handlers + * Add a new default optional argument to logger.catch(), it should + be the returned value by the decorated function in case an + error occurred + * Fix ValueError when using serialize=True in combination with + logger.catch() or logger.opt(record=True) due to circular + reference of the record dict +- from v0.5.0 + * Remove the possibility to modify the severity no of levels + once they have been added in order to prevent surprising + behavior + * Add better support for "structured logging" by automatically + adding **kwargs to the extra dict besides using these arguments + to format the message. This behavior can be disabled by setting + the new .opt(capture=False) parameter + * Add a new onerror optional argument to logger.catch(), it should + be a function which will be called when an exception occurs in + order to customize error handling + * Add a new exclude optional argument to logger.catch(), is should + be a type of exception to be purposefully ignored and propagated + to the caller without being logged + * Modify complete() to make it callable from non-asynchronous + functions, it can thus be used if enqueue=True to make sure + all messages have been processed + * Fix possible deadlocks on Linux when multiprocessing.Process() + collides with enqueue=True or threading + * Fix compression function not executable concurrently due to file + renaming (to resolve conflicts) being performed after and not + before it + * Fix the filter function listing files for retention being too + restrictive, it now matches files based on the pattern + "basename(.*).ext(.*)" + * Fix the impossibility to remove() a handler if an exception is + raised while the sink' stop() function is called + * Fix file sink left in an unstable state if an exception occurred + during retention or compression process + * Fix situation where changes made to record["message"] were + unexpectedly ignored when opt(colors=True), causing + "out-of-date" message to be logged due to implementation details + * Fix possible exception if a stream having an isatty() method + returning True but not being compatible with colorama is used + on Windows + * Fix exceptions occurring in coroutine sinks never retrieved and + hence causing warnings + ------------------------------------------------------------------- Thu Jan 21 10:44:04 UTC 2021 - Benjamin Greiner diff --git a/python-loguru.spec b/python-loguru.spec index dec92db..fbbfec0 100644 --- a/python-loguru.spec +++ b/python-loguru.spec @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-loguru -Version: 0.4.1 +Version: 0.5.3 Release: 0 Summary: Python logging component with a simple interface License: MIT