Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 29, 2021

Bumps structlog from 21.3.0 to 21.4.0.

Release notes

Sourced from structlog's releases.

21.4.0

This release is mostly about a regression when importing using a Python interpreter running with the PYTHONOPTIMIZE=2 environment variable set, or as python -OO. The one new feature is kinda neat too, though!

Changes:

  • Fixed import when running in optimized mode (PYTHONOPTIMIZE=2 or python -OO). #373
  • Added the structlog.threadlocal.bound_threadlocal and structlog.contextvars.bound_contextvars decorator/context managers to temporarily bind key/value pairs to a thread-local and context-local context. #371
Changelog

Sourced from structlog's changelog.

21.4.0 (2021-11-25)

Backward-incompatible changes: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

none

Deprecations: ^^^^^^^^^^^^^

none

Changes: ^^^^^^^^

  • Fixed import when running in optimized mode (PYTHONOPTIMIZE=2 or python -OO). [#373](https://github.com/hynek/structlog/issues/373) <https://github.com/hynek/structlog/pull/373>_
  • Added the structlog.threadlocal.bound_threadlocal and structlog.contextvars.bound_contextvars decorator/context managers to temporarily bind key/value pairs to a thread-local and context-local context. [#371](https://github.com/hynek/structlog/issues/371) <https://github.com/hynek/structlog/pull/371>_

Commits
  • e9e77e8 Prepare 21.4.0
  • c31ec11 We don't need that comma
  • 2c2bcc3 Fold backwards compatibility policy into changelog
  • e5ad4fb Update changelog
  • 677b794 Simplify -OO handling
  • e45b84b Add structlog.contextvars.bound_contextvars, add missing example to thread-lo...
  • 05c4b51 Add example for bound_threadlocal
  • a0becf5 Add threadlocal bound context manager (#371)
  • 3647f47 GitHub really wants us to use Markdown
  • e5507ad Add missing TODO
  • 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 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)

Bumps [structlog](https://github.com/hynek/structlog) from 21.3.0 to 21.4.0.
- [Release notes](https://github.com/hynek/structlog/releases)
- [Changelog](https://github.com/hynek/structlog/blob/main/CHANGELOG.rst)
- [Commits](hynek/structlog@21.3.0...21.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Nov 29, 2021
@dependabot dependabot bot requested a review from a team November 29, 2021 23:00
@ghost
Copy link

ghost commented Nov 29, 2021

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2021-11-29T23:00:40.318+0000

  • Duration: 9 min 12 sec

  • Commit: 714ccd6

Test stats 🧪

Test Results
Failed 0
Passed 5
Skipped 0
Total 5

🤖 GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

@beniwohli beniwohli merged commit 4c98360 into master Nov 30, 2021
@dependabot dependabot bot deleted the dependabot/pip/structlog-21.4.0 branch November 30, 2021 08:00
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.

2 participants