pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils/py-loguru



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Aug  4 09:52:31 UTC 2023

Modified Files:
        pkgsrc/sysutils/py-loguru: Makefile distinfo

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


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/sysutils/py-loguru/Makefile \
    pkgsrc/sysutils/py-loguru/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/py-loguru/Makefile
diff -u pkgsrc/sysutils/py-loguru/Makefile:1.1 pkgsrc/sysutils/py-loguru/Makefile:1.2
--- pkgsrc/sysutils/py-loguru/Makefile:1.1      Thu Aug 25 11:12:32 2022
+++ pkgsrc/sysutils/py-loguru/Makefile  Fri Aug  4 09:52:31 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2022/08/25 11:12:32 adam Exp $
+# $NetBSD: Makefile,v 1.2 2023/08/04 09:52:31 adam Exp $
 
-DISTNAME=      loguru-0.6.0
+DISTNAME=      loguru-0.7.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    sysutils python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=l/loguru/}
@@ -10,7 +10,10 @@ HOMEPAGE=    https://github.com/Delgan/logu
 COMMENT=       Python logging made (stupidly) simple
 LICENSE=       mit
 
+TEST_DEPENDS+= ${PYPKGPREFIX}-freezegun>=1.2.2:../../devel/py-freezegun
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=4.0.0:../../devel/py-test-cov
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-mypy-plugins>=1.10.1:../../devel/py-test-mypy-plugins
 
 USE_LANGUAGES= # none
 
Index: pkgsrc/sysutils/py-loguru/distinfo
diff -u pkgsrc/sysutils/py-loguru/distinfo:1.1 pkgsrc/sysutils/py-loguru/distinfo:1.2
--- pkgsrc/sysutils/py-loguru/distinfo:1.1      Thu Aug 25 11:12:32 2022
+++ pkgsrc/sysutils/py-loguru/distinfo  Fri Aug  4 09:52:31 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1 2022/08/25 11:12:32 adam Exp $
+$NetBSD: distinfo,v 1.2 2023/08/04 09:52:31 adam Exp $
 
-BLAKE2s (loguru-0.6.0.tar.gz) = bb3ce29dbbaab45db804616cf3a924f9e9e5d52a7ce6ec45b2bf6a1b5519ef84
-SHA512 (loguru-0.6.0.tar.gz) = 81b300cd612e5949b6cdb478664cad1b94246c16f9de6a3a733d6250649c366f7d3905f5633fa8b747feafc8906ef9422d13e5e2f8317e14d6e021decefa6ed9
-Size (loguru-0.6.0.tar.gz) = 123158 bytes
+BLAKE2s (loguru-0.7.0.tar.gz) = a95961d78d01585b41e2af181d5a1717b0461cec05c4f77a1596b3a5b182a8b1
+SHA512 (loguru-0.7.0.tar.gz) = 9644645174c492cebfb9397d901a589684da467eedfc45f77eee7b0323bb0e98b1c4f40c99d259553b0bd11853ae1b5679d9874515a65aec87792b332e062e20
+Size (loguru-0.7.0.tar.gz) = 131961 bytes



Home | Main Index | Thread Index | Old Index