GeezerVison is showing github.com — chore(deps): bump pytest-asyncio from 0.23.7 to 0.25.3 by dependabot[bot] · Pull Request #63 · TaskingAI/TaskingAI-Python-Client
Conversation
Bumps pytest-asyncio from 0.23.7 to 0.25.3.
Release notes
Sourced from pytest-asyncio's releases.
pytest-asyncio 0.25.3
- Avoid errors in cleanup of async generators when event loop is already closed #1040
pytest-asyncio 0.25.2
- Call
loop.shutdown_asyncgens() before closing the event loop to ensure async generators are closed in the same manner as asyncio.run does #1034
pytest-asyncio 0.25.1
- Fixes an issue that caused a broken event loop when a function-scoped test was executed in between two tests with wider loop scope #950
- Improves test collection speed in auto mode #1020
- Corrects the warning that is emitted upon redefining the event_loop fixture
pytest-asyncio 0.25.0
0.25.0 (2024-12-13)
- Deprecated: Added warning when asyncio test requests async
@pytest.fixture in strict mode. This will become an error in a future version of flake8-asyncio. #979
- Updates the error message about pytest.mark.asyncio's scope keyword argument to say loop_scope instead. #1004
- Verbose log displays correct parameter name: asyncio_default_fixture_loop_scope #990
- Propagates contextvars set in async fixtures to other fixtures and tests on Python 3.11 and above. #1008
pytest-asyncio 0.24.0
0.24.0 (2024-08-22)
- BREAKING: Updated minimum supported pytest version to v8.2.0
- Adds an optional loop_scope keyword argument to pytest.mark.asyncio. This argument controls which event loop is used to run the marked async test. #706, #871
- Deprecates the optional scope keyword argument to pytest.mark.asyncio for API consistency with
pytest_asyncio.fixture. Users are encouraged to use the loop_scope keyword argument, which does exactly the same.
- Raises an error when passing scope or loop_scope as a positional argument to
@pytest.mark.asyncio. #812
- Fixes a bug that caused module-scoped async fixtures to fail when reused in other modules #862 #668
pytest-asyncio 0.24.0a1
0.24.0 (UNRELEASED)
- BREAKING: Updated minimum supported pytest version to v8.2.0
- Adds an optional loop_scope keyword argument to pytest.mark.asyncio. This argument controls which event loop is used to run the marked async test. #706, #871
- Deprecates the optional scope keyword argument to pytest.mark.asyncio for API consistency with
pytest_asyncio.fixture. Users are encouraged to use the loop_scope keyword argument, which does exactly the same.
- Raises an error when passing scope or loop_scope as a positional argument to
@pytest.mark.asyncio. #812
- Fixes a bug that caused module-scoped async fixtures to fail when reused in other modules #862 #668
pytest-asyncio 0.24.0a0
0.24.0 (UNRELEASED)
- Adds an optional loop_scope keyword argument to pytest.mark.asyncio. This argument controls which event loop is used to run the marked async test. #706, #871
- Deprecates the optional scope keyword argument to pytest.mark.asyncio for API consistency with
pytest_asyncio.fixture. Users are encouraged to use the loop_scope keyword argument, which does exactly the same.
- Raises an error when passing scope or loop_scope as a positional argument to
@pytest.mark.asyncio. #812
pytest-asyncio 0.23.8
0.23.8 (2024-07-17)
- Fixes a bug that caused duplicate markers in async tests #813
Known issues
As of v0.23, pytest-asyncio attaches an asyncio event loop to each item of the test suite (i.e. session, packages, modules, classes, functions) and allows tests to be run in those loops when marked accordingly. Pytest-asyncio currently assumes that async fixture scope is correlated with the new event loop scope. This prevents fixtures from being evaluated independently from the event loop scope and breaks some existing test suites (see #706). For example, a test suite may require all fixtures and tests to run in the same event loop, but have async fixtures that are set up and torn down for each module. If you're affected by this issue, please continue using the v0.21 release, until it is resolved.
Commits
7c50192 fix: Avoid errors in cleanup of async generators when event loop is already c...
2188cdb build: Prepare release of v0.25.2.
c3ad634 fix: Shutdown generators before closing event loops.
e8ffb10 [pre-commit.ci] pre-commit autoupdate
aae43d4 Build(deps): Bump hypothesis in /dependencies/default
941e8b5 Build(deps): Bump pygments from 2.18.0 to 2.19.1 in /dependencies/docs
623ab74 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.
- Additional commits viewable in compare view

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)
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This branch had an error being deployed
1 failed
deployment
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.