Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): Bump loguru from 0.6.0 to 0.7.3 #258

Merged
merged 1 commit into from
Jan 1, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 1, 2025

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Bumps loguru from 0.6.0 to 0.7.3.

Release notes

Sourced from loguru's releases.

0.7.3

  • Fix Cython incompatibility caused by the absence of underlying stack frames, which resulted in a ValueError during logging (#88).
  • Fix possible RuntimeError when removing all handlers with logger.remove() due to thread-safety issue (#1183, thanks @​jeremyk).
  • Fix diagnose=True option of exception formatting not working as expected with Python 3.13 (#1235, thanks @​etianen).
  • Fix non-standard level names not fully compatible with logging.Formatter() (#1231, thanks @​yechielb2000).
  • Fix inability to display a literal "\" immediately before color markups (#988).
  • Fix possible infinite recursion when an exception is raised from a __repr__ method decorated with logger.catch() (#1044).
  • Improve performance of datetime formatting while logging messages (#1201, thanks @​trim21).
  • Reduce startup time in the presence of installed but unused IPython third-party library (#1001, thanks @​zakstucke).

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

Sourced from loguru's changelog.

0.7.3_ (2024-12-06)

  • Fix Cython incompatibility caused by the absence of underlying stack frames, which resulted in a ValueError during logging ([#88](https://github.com/Delgan/loguru/issues/88) <https://github.com/Delgan/loguru/issues/88>_).
  • Fix possible RuntimeError when removing all handlers with logger.remove() due to thread-safety issue ([#1183](https://github.com/Delgan/loguru/issues/1183) <https://github.com/Delgan/loguru/issues/1183>, thanks @jeremyk <https://github.com/jeremyk>).
  • Fix diagnose=True option of exception formatting not working as expected with Python 3.13 ([#1235](https://github.com/Delgan/loguru/issues/1235) <https://github.com/Delgan/loguru/issues/1235>, thanks @etianen <https://github.com/etianen>).
  • Fix non-standard level names not fully compatible with logging.Formatter() ([#1231](https://github.com/Delgan/loguru/issues/1231) <https://github.com/Delgan/loguru/issues/1231>, thanks @yechielb2000 <https://github.com/yechielb2000>).
  • Fix inability to display a literal "\" immediately before color markups ([#988](https://github.com/Delgan/loguru/issues/988) <https://github.com/Delgan/loguru/issues/988>_).
  • Fix possible infinite recursion when an exception is raised from a __repr__ method decorated with logger.catch() ([#1044](https://github.com/Delgan/loguru/issues/1044) <https://github.com/Delgan/loguru/issues/1044>_).
  • Improve performance of datetime formatting while logging messages ([#1201](https://github.com/Delgan/loguru/issues/1201) <https://github.com/Delgan/loguru/issues/1201>, thanks @trim21 <https://github.com/trim21>).
  • Reduce startup time in the presence of installed but unused IPython third-party library ([#1001](https://github.com/Delgan/loguru/issues/1001) <https://github.com/Delgan/loguru/issues/1001>, thanks @zakstucke <https://github.com/zakstucke>).

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>_).
Commits
  • ae3bfd1 Bump version to 0.7.3
  • ccca356 Replace "notifiers" (seems unmaintained) with "apprise" in docs (#1251)
  • a372814 Configure "trusted publishing" in Github workflow
  • 633016d Use tox to define the "release" command
  • ef12cbb Convert README from RST to MD (fix PyPI packaging)
  • cb3314a Add Github action to verify packaging
  • 6161a13 Complete the "Troubleshooting" docs with more examples
  • 7f5001f Simplify the example of dynamic handler level
  • 2e0cd7b Move "Introduction to logging" docs to a new section
  • 72b93d1 Correct outdated instructions for reporting a vulnerability
  • 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 <dependency name> 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)

Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 1, 2025

The following labels could not be found: dependabot, dependencies.

@github-actions github-actions bot enabled auto-merge (squash) January 1, 2025 19:36
Bumps [loguru](https://github.com/Delgan/loguru) from 0.6.0 to 0.7.3.
- [Release notes](https://github.com/Delgan/loguru/releases)
- [Changelog](https://github.com/Delgan/loguru/blob/master/CHANGELOG.rst)
- [Commits](Delgan/loguru@0.6.0...0.7.3)

---
updated-dependencies:
- dependency-name: loguru
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/loguru-0.7.3 branch from 427ef3b to 6cd49ba Compare January 1, 2025 19:38
@github-actions github-actions bot merged commit 36e248b into main Jan 1, 2025
1 check passed
@github-actions github-actions bot deleted the dependabot/pip/loguru-0.7.3 branch January 1, 2025 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant