Path to this page:
Subject: CVS commit: pkgsrc/sysutils/py-loguru
From: Adam Ciarcinski
Date: 2023-08-04 11:52:31
Message id: 20230804095231.2EB64FBDB@cvs.NetBSD.org
Log Message:
py-loguru: updated to 0.7.0
0.7.0
Update InterceptHandler recipe to make it compatible with Python 3.11
Add a new watch optional argument to file sinks in order to automatically \
re-create possibly deleted or changed file
Make patch() calls cumulative instead of overriding the possibly existing \
patching function
Make sinks added with enqueue=True and catch=False still process logged messages \
in case of internal exception
Avoid possible deadlocks caused by re-using the logger inside a sink, a signal \
handler or a __del__ method. Since the logger is not re-entrant, such misuse \
will be detected and will now generate a RuntimeError
Fix file sink rotation using an aware datetime.time for which the timezone was \
ignored
Fix logs colorization not automatically enabled for Jupyter Notebook and Google Colab
Fix logs colorization not automatically enabled for Github Actions and others CI \
platforms
Fix logger.complete() possibly hanging forever when enqueue=True and catch=False \
if internal thread killed due to Exception raised by sink
Fix incompatibility with freezegun library used to simulate time
Raise exception if logger.catch() is used to wrap a class instead of a function \
to avoid unexpected behavior
Files: