14
0
forked from pool/python-loguru
Commit Graph

9 Commits

Author SHA256 Message Date
aed181b600 Accepting request 993287 from home:bnavigator:branches:devel:languages:python
- Update to 0.6.0
  * Remove internal use of pickle.loads() considered as a security
    vulnerability referenced as CVE-2022-0329 (#563).
  * Modify coroutine sink to make it discard log messages when
    loop=None and no event loop is running (due to internally using
    asyncio.get_running_loop() in place of
    asyncio.get_event_loop()).
  * Remove the possibility to add a coroutine sink with
    enqueue=True if loop=None and no event loop is running.
  * Change default encoding of file sink to be utf8 instead of
    locale.getpreferredencoding() (#339).
  * Prevent non-ascii characters to be escaped while logging JSON
    message with serialize=True (#575, thanks @ponponon).
  * Fix flake8 errors and improve code readability (#353, thanks
    @AndrewYakimets).
- Drop merged patches:
  * loguru-exception-formatting-py39.patch
  * pytest-6.2-excepthooks.patch
- Add loguru-fix-repr-tests.patch
  * Fix "repr()" tests failing on Python 3.11 and Python 3.10.6
  * https://github.com/Delgan/loguru/commit/4fe21f66

OBS-URL: https://build.opensuse.org/request/show/993287
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-loguru?expand=0&rev=15
2022-08-05 13:19:57 +00:00
John Vandenberg
4a059b5745 Accepting request 938254 from home:bnavigator:python-rpm-macros
- Skip two formatting tests -- gh#Delgan/loguru#550

OBS-URL: https://build.opensuse.org/request/show/938254
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-loguru?expand=0&rev=14
2021-12-09 18:57:36 +00:00
53a87b62f2 Accepting request 886445 from home:bnavigator:branches:devel:languages:python
- Add loguru-exception-formatting-py39.patch
  https://github.com/Delgan/loguru/commit/19f518c5 for changed
  exception formatting in Python 3.9

OBS-URL: https://build.opensuse.org/request/show/886445
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-loguru?expand=0&rev=12
2021-04-19 08:07:56 +00:00
John Vandenberg
167d279f3c Accepting request 873587 from home:jayvdb:branches:devel:languages:python
- Add pytest-6.2-excepthooks.patch for compatibility with pytest 6.2

OBS-URL: https://build.opensuse.org/request/show/873587
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-loguru?expand=0&rev=10
2021-02-19 01:58:26 +00:00
John Vandenberg
6c947d8afb 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
2021-02-09 00:39:34 +00:00
acb5725154 Accepting request 865376 from home:bnavigator:branches:devel:languages:python
- Add runtime requirement for contextvars and the correct BR for
  Leap
- Skip failing tests on 32-bit

OBS-URL: https://build.opensuse.org/request/show/865376
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-loguru?expand=0&rev=6
2021-01-21 11:54:01 +00:00
908758e165 - BuildRequire python36-aiocontextvars if building under python 3.6
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-loguru?expand=0&rev=5
2021-01-21 06:01:30 +00:00
John Vandenberg
19e8a0bb42 Accepting request 774679 from home:mnhauke
- Update to version 0.4.1
  * Deprecate the ansi parameter of .opt() in favor of colors
    which is a name more appropriate.
  * Prevent unrelated files and directories to be incorrectly
    collected thus causing errors during the retention process
  * Strip color markups contained in record["message"] when
    logging with .opt(ansi=True) instead of leaving them as is.
  * Ignore color markups contained in *args and **kwargs when
    logging with .opt(ansi=True), leave them as is instead of
    trying to use them to colorize the message which could cause
    undesirable errors.
- Update to version 0.4.0
  * Add support for coroutine functions used as sinks and add the
    new logger.complete() asynchronous method to await them.
  * Add a way to filter logs using one level per module in the
    form of a dict passed to the filter argument.
  * Add type hints to annotate the public methods using a .pyi
    stub file.
  * Add support for copy.deepcopy() of the logger allowing multiple
    independent loggers with separate set of handlers.
  * Add the possibility to convert datetime to UTC before
    formatting (in logs and filenames) by adding "!UTC" at the end
    of the time format specifier.
  * Add the level name as the first argument of namedtuple returned
    by the .level() method.
  * Remove class objects from the list of supported sinks and
    restrict usage of **kwargs in .add() to file sink only. User is
    in charge of instantiating sink and wrapping additional keyword
    arguments if needed, before passing it to the .add() method.
  * Rename the logger.configure() keyword argument patch to patcher

OBS-URL: https://build.opensuse.org/request/show/774679
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-loguru?expand=0&rev=3
2020-02-16 12:06:14 +00:00
7c599ba660 Accepting request 720696 from home:jayvdb:storyscript
Becoming very popular
https://pypistats.org/packages/loguru

OBS-URL: https://build.opensuse.org/request/show/720696
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-loguru?expand=0&rev=1
2019-08-07 11:52:07 +00:00