Revisions of python-loguru

Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1115765 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 13)
- update to 0.7.2:
  * Add support for formatting of `ExceptionGroup` errors (#805).
  * Fix possible `RuntimeError` when using
    `multiprocessing.set_start_method()` after importing the
    `logger` (#974).
  * Fix formatting of possible `__notes__` attached to an
    `Exception` (#980).
- update to 0.7.1:
  * Add a new `context` optional argument to `logger.add()`
    specifying `multiprocessing` context (like `"spawn"` or
    `"fork"`) to be used internally instead of the default one
  * Add support for true colors on Windows using ANSI/VT console
    when available (#934, thanks @tunaflsh).
  * Fix possible deadlock when calling `logger.complete()` with
    concurrent logging of an asynchronous sink (#906).
  * Fix file possibly rotating too early or too late when re-
    starting an application around midnight (#894).
  * Fix inverted `""` and `""` color tags
  * Fix possible untraceable errors raised when logging non-
    unpicklable `Exception` instances while using `enqueue=True`
  * Fix possible errors raised when logging non-picklable
    `Exception` instances while using `enqueue=True` (#342,
    thanks @ncoudene).
  * Fix missing seconds and microseconds when formatting timezone
    offset that requires such accuracy
  * Raise `ValueError` if an attempt to use nanosecond precision
    for time formatting is detected

- Skip two formatting tests -- gh#Delgan/loguru#550
- BuildRequire python36-aiocontextvars if building under python 3.6
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1086767 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 12)
- drop optional mypy testing dependency
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1085121 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 11)
- update to 0.7.0:
  * Update `InterceptHandler` recipe to make it compatible with
    Python 3.11 (#654).
  * Add a new `watch` optional argument to file sinks in order to
    automatically re-create possibly deleted or changed file
    (#471).
  * Make `patch()` calls cumulative instead of overriding the
    possibly existing patching function (#462).
  * Make sinks added with `enqueue=True` and `catch=False` still
    process logged messages in case of internal exception (#833).
  * 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` (#712, thanks
    @jacksmith15).
  * Fix file sink rotation using an aware `datetime.time` for
    which the timezone was ignored (#697).
  * Fix logs colorization not automatically enabled for Jupyter
    Notebook and Google Colab (#494).
  * Fix logs colorization not automatically enabled for Github
    Actions and others CI platforms (#604).
  * Fix `logger.complete()` possibly hanging forever when
    `enqueue=True` and `catch=False` if internal thread killed
    due to `Exception` raised by sink (#647).
  * Fix incompatibility with `freezegun` library used to simulate
    time (#600).
  * Raise exception if `logger.catch()` is used to wrap a class
    instead of a function to avoid unexpected behavior (#623).
- drop python311.patch, loguru-fix-repr-tests.patch: upstream
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1061762 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 9)
- add python311.patch to fix build with python 3.11
Displaying all 13 revisions
openSUSE Build Service is sponsored by