-
Notifications
You must be signed in to change notification settings - Fork 27
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 pytest-asyncio from 0.24.0 to 0.25.2 in /server #303
base: development
Are you sure you want to change the base?
Bump pytest-asyncio from 0.24.0 to 0.25.2 in /server #303
Conversation
Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) from 0.24.0 to 0.25.2. - [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases) - [Commits](pytest-dev/pytest-asyncio@v0.24.0...v0.25.2) --- updated-dependencies: - dependency-name: pytest-asyncio dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Reviewer's Guide by SourceryThis pull request bumps the pytest-asyncio dependency from version 0.24.0 to 0.25.2. Several bug fixes, improvements, and deprecations are included in this version bump. Notably, async generators are now shut down before closing the event loop, an issue with broken event loops during function-scoped tests has been resolved, and contextvars set in async fixtures are now propagated to other fixtures and tests on Python 3.11+. Sequence diagram for improved async generator shutdownsequenceDiagram
participant Test
participant EventLoop
participant AsyncGenerator
Note over Test,AsyncGenerator: New behavior in 0.25.2
Test->>EventLoop: Begin shutdown
EventLoop->>AsyncGenerator: shutdown_asyncgens()
AsyncGenerator-->>EventLoop: Generators closed
EventLoop-->>Test: loop.close()
State diagram for event loop lifecycle changesstateDiagram-v2
[*] --> LoopActive
LoopActive --> ShuttingDown: Begin shutdown
ShuttingDown --> CleaningGenerators: shutdown_asyncgens()
CleaningGenerators --> LoopClosed: close()
LoopClosed --> [*]
note right of CleaningGenerators
New step in 0.25.2 ensures
proper async generator cleanup
end note
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this 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.
Bumps pytest-asyncio from 0.24.0 to 0.25.2.
Release notes
Sourced from pytest-asyncio's releases.
Commits
2188cdb
build: Prepare release of v0.25.2.c3ad634
fix: Shutdown generators before closing event loops.e8ffb10
[pre-commit.ci] pre-commit autoupdateaae43d4
Build(deps): Bump hypothesis in /dependencies/default941e8b5
Build(deps): Bump pygments from 2.18.0 to 2.19.1 in /dependencies/docs623ab74
docs: Prepare release of v0.25.1.c236550
docs: Fix broken link to the pytest.mark.asyncio reference.41c645b
fix: Correct warning message when redefining the event_loop fixture.2fd10f8
docs: Clarify deprecation of event_loop fixture.a4e82ab
docs: Added changelog entry for #1020.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
Tests: