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

Bump loguru from 0.7.2 to 0.7.3 #24

Merged
merged 1 commit into from
Jan 1, 2025
Merged

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps loguru from 0.7.2 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).
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>).
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)

Summary by Sourcery

Update loguru to 0.7.3.

Bug Fixes:

  • Fix a ValueError during logging caused by Cython incompatibility.
  • Fix a potential RuntimeError when removing all handlers with logger.remove() due to a thread-safety issue.
  • Fix the diagnose=True option of exception formatting not working with Python 3.13.
  • Fix non-standard level names incompatibility with logging.Formatter().
  • Fix the inability to display a literal "\" before color markups.
  • Fix a potential infinite recursion when an exception is raised from a __repr__ method decorated with logger.catch().

Bumps [loguru](https://github.com/Delgan/loguru) from 0.7.2 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.7.2...0.7.3)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jan 1, 2025
Copy link

sourcery-ai bot commented Jan 1, 2025

Reviewer's Guide by Sourcery

This pull request updates the loguru library from version 0.7.2 to 0.7.3. This addresses several bug fixes, enhances performance, and improves compatibility.

Class diagram showing loguru Logger updates in v0.7.3

classDiagram
    class Logger {
        +remove()
        +catch()
        datetime_formatting
    }
    note for Logger "Fixed in v0.7.3:
    - Thread-safety in remove()
    - Infinite recursion in catch()
    - Datetime formatting performance
    - Cython compatibility
    - Python 3.13 diagnose=True
    - Non-standard level names"
Loading

File-Level Changes

Change Details Files
Update loguru to 0.7.3
  • Bumped loguru version from 0.7.2 to 0.7.3 in requirements.txt
requirements.txt

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time. You can also use
    this command to specify where the summary should be inserted.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have skipped reviewing this pull request. Here's why:

  • It seems to have been created by a bot (hey, dependabot[bot]!). We assume it knows what it's doing!
  • We don't review packaging changes - Let us know if you'd like us to change this.

@nabobalis nabobalis merged commit 8f8cd47 into main Jan 1, 2025
2 checks passed
@nabobalis nabobalis deleted the dependabot/pip/loguru-0.7.3 branch January 1, 2025 23:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant