Homebrew / brew-pip-audit

:clipboard: Bulk auditing Python dependencies in Homebrew with pip-audit
BSD 2-Clause "Simplified" License
11 stars 7 forks source link

Bump loguru from 0.5.3 to 0.7.2 #88

Closed dependabot[bot] closed 3 months ago

dependabot[bot] commented 3 months ago

Bumps loguru from 0.5.3 to 0.7.2.

Release notes

Sourced from loguru's releases.

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).

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 (#851).
  • 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 "<hide>" and "<strike>" color tags (#943, thanks @​tunaflsh).
  • Fix possible untraceable errors raised when logging non-unpicklable Exception instances while using enqueue=True (#329).
  • 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 (#961).
  • Raise ValueError if an attempt to use nanosecond precision for time formatting is detected (#855).

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).

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).
Changelog

Sourced from loguru's changelog.

0.7.2_ (2023-09-11)

  • Add support for formatting of ExceptionGroup errors ([#805](https://github.com/Delgan/loguru/issues/805) <https://github.com/Delgan/loguru/issues/805>_).
  • Fix possible RuntimeError when using multiprocessing.set_start_method() after importing the logger ([#974](https://github.com/Delgan/loguru/issues/974) <https://github.com/Delgan/loguru/issues/974>_)
  • Fix formatting of possible __notes__ attached to an Exception ([#980](https://github.com/Delgan/loguru/issues/980) <https://github.com/Delgan/loguru/issues/980>_).

0.7.1_ (2023-09-04)

  • 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 ([#851](https://github.com/Delgan/loguru/issues/851) <https://github.com/Delgan/loguru/issues/851>_).
  • Add support for true colors on Windows using ANSI/VT console when available ([#934](https://github.com/Delgan/loguru/issues/934) <https://github.com/Delgan/loguru/issues/934>, thanks @tunaflsh <https://github.com/tunaflsh>).
  • Fix possible deadlock when calling logger.complete() with concurrent logging of an asynchronous sink ([#906](https://github.com/Delgan/loguru/issues/906) <https://github.com/Delgan/loguru/issues/906>_).
  • Fix file possibly rotating too early or too late when re-starting an application around midnight ([#894](https://github.com/Delgan/loguru/issues/894) <https://github.com/Delgan/loguru/issues/894>_).
  • Fix inverted "<hide>" and "<strike>" color tags ([#943](https://github.com/Delgan/loguru/issues/943) <https://github.com/Delgan/loguru/pull/943>, thanks @tunaflsh <https://github.com/tunaflsh>).
  • Fix possible untraceable errors raised when logging non-unpicklable Exception instances while using enqueue=True ([#329](https://github.com/Delgan/loguru/issues/329) <https://github.com/Delgan/loguru/issues/329>_).
  • Fix possible errors raised when logging non-picklable Exception instances while using enqueue=True ([#342](https://github.com/Delgan/loguru/issues/342) <https://github.com/Delgan/loguru/issues/342>, thanks @ncoudene <https://github.com/ncoudene>).
  • Fix missing seconds and microseconds when formatting timezone offset that requires such accuracy ([#961](https://github.com/Delgan/loguru/issues/961) <https://github.com/Delgan/loguru/issues/961>_).
  • Raise ValueError if an attempt to use nanosecond precision for time formatting is detected ([#855](https://github.com/Delgan/loguru/issues/855) <https://github.com/Delgan/loguru/issues/855>_).

0.7.0_ (2023-04-10)

  • Update InterceptHandler recipe to make it compatible with Python 3.11 ([#654](https://github.com/Delgan/loguru/issues/654) <https://github.com/Delgan/loguru/issues/654>_).
  • Add a new watch optional argument to file sinks in order to automatically re-create possibly deleted or changed file ([#471](https://github.com/Delgan/loguru/issues/471) <https://github.com/Delgan/loguru/issues/471>_).
  • Make patch() calls cumulative instead of overriding the possibly existing patching function ([#462](https://github.com/Delgan/loguru/issues/462) <https://github.com/Delgan/loguru/issues/462>_).
  • Make sinks added with enqueue=True and catch=False still process logged messages in case of internal exception ([#833](https://github.com/Delgan/loguru/issues/833) <https://github.com/Delgan/loguru/issues/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](https://github.com/Delgan/loguru/issues/712) <https://github.com/Delgan/loguru/issues/712>, thanks @jacksmith15 <https://github.com/jacksmith15>).
  • Fix file sink rotation using an aware datetime.time for which the timezone was ignored ([#697](https://github.com/Delgan/loguru/issues/697) <https://github.com/Delgan/loguru/issues/697>_).
  • Fix logs colorization not automatically enabled for Jupyter Notebook and Google Colab ([#494](https://github.com/Delgan/loguru/issues/494) <https://github.com/Delgan/loguru/issues/494>_).
  • Fix logs colorization not automatically enabled for Github Actions and others CI platforms ([#604](https://github.com/Delgan/loguru/issues/604) <https://github.com/Delgan/loguru/issues/604>_).
  • Fix logger.complete() possibly hanging forever when enqueue=True and catch=False if internal thread killed due to Exception raised by sink ([#647](https://github.com/Delgan/loguru/issues/647) <https://github.com/Delgan/loguru/issues/647>_).
  • Fix incompatibility with freezegun library used to simulate time ([#600](https://github.com/Delgan/loguru/issues/600) <https://github.com/Delgan/loguru/issues/600>_).
  • Raise exception if logger.catch() is used to wrap a class instead of a function to avoid unexpected behavior ([#623](https://github.com/Delgan/loguru/issues/623) <https://github.com/Delgan/loguru/issues/623>_).

0.6.0_ (2022-01-29)

  • Remove internal use of pickle.loads() to fix the (finally rejected) security vulnerability referenced as CVE-2022-0329 <https://nvd.nist.gov/vuln/detail/CVE-2022-0329>_ ([#563](https://github.com/Delgan/loguru/issues/563) <https://github.com/Delgan/loguru/issues/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](https://github.com/Delgan/loguru/issues/339) <https://github.com/Delgan/loguru/issues/339>_).
  • Prevent non-ascii characters to be escaped while logging JSON message with serialize=True ([#575](https://github.com/Delgan/loguru/issues/575) <https://github.com/Delgan/loguru/pull/575>, thanks @ponponon <https://github.com/ponponon>).
  • Fix flake8 errors and improve code readability ([#353](https://github.com/Delgan/loguru/issues/353) <https://github.com/Delgan/loguru/issues/353>, thanks @AndrewYakimets <https://github.com/AndrewYakimets>).
Commits
  • e1f48c9 Bump version to 0.7.2
  • 086126f Fix error using "set_start_method()" after "logger" import (#974)
  • 14fa062 Add tested support for Python 3.12
  • 3086159 Fix some deprecation warnings in tests by upgrading Mypy
  • b28978e Fix deprecation caused by pickled "itertools.count()"
  • 37a2db2 Fix deprecation of "datetime.utcfromoffset()"
  • f1e94ab Fix f-string formatting in traceback of Python 3.12
  • 22bccb7 Fix possible truncated source while colorizing traceback in Python 3.12
  • db6c40b Remove some noqa and adjust test reference files (#982)
  • 0f9cdeb Fix formatting of possible notes added to an Exception (#980)
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 3 months ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.