Skip to content

chore(deps): upgrade dependency pytest-asyncio to ~=1.4.0#3242

Merged
Lulalaby merged 1 commit into
masterfrom
renovate/pytest-asyncio-1.x
Jul 9, 2026
Merged

chore(deps): upgrade dependency pytest-asyncio to ~=1.4.0#3242
Lulalaby merged 1 commit into
masterfrom
renovate/pytest-asyncio-1.x

Conversation

@renovate

@renovate renovate Bot commented May 26, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
pytest-asyncio (changelog) ~=1.3.0~=1.4.0 age confidence

Release Notes

pytest-dev/pytest-asyncio (pytest-asyncio)

v1.4.0: pytest-asyncio v1.4.0

Compare Source

1.4.0 - 2026-05-26

Deprecated

  • Overriding the event_loop_policy fixture is deprecated. Use the pytest_asyncio_loop_factories hook instead. (#​1419)

Added

  • Added the pytest_asyncio_loop_factories hook to parametrize asyncio tests with custom event loop factories.

    The hook returns a mapping of factory names to loop factories, and pytest.mark.asyncio(loop_factories=[...]) selects a subset of configured factories per test. When a single factory is configured, test names are unchanged.

    Synchronous @pytest_asyncio.fixture functions now see the correct event loop when custom loop factories are configured, even when test code disrupts the current event loop (e.g., via asyncio.run() or asyncio.set_event_loop(None)). (#​1164)

Changed

  • Improved the readability of the warning message that is displayed when asyncio_default_fixture_loop_scope is unset (#​1298)
  • Only import asyncio.AbstractEventLoopPolicy for type checking to avoid raising
    a DeprecationWarning. (#​1394)
  • Updated minimum supported pytest version to v8.4.0. (#​1397)

Fixed

  • Fixed a ResourceWarning: unclosed event loop warning that could occur when a synchronous test called asyncio.run() or otherwise unset the current event loop after pytest-asyncio had run an async test or fixture. (#​724)

Notes for Downstream Packagers

  • Added dependency on sphinx-tabs >= 3.5 to organize documentation examples into tabs. (#​1395)

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot requested a review from a team May 26, 2026 11:10
@renovate renovate Bot added dependencies Pull requests that update a dependency file optional labels May 26, 2026
@renovate
renovate Bot requested review from a team May 26, 2026 11:10
@renovate
renovate Bot requested a review from Lumabots May 26, 2026 11:10
@renovate renovate Bot added dependencies Pull requests that update a dependency file optional labels May 26, 2026
@renovate
renovate Bot requested a review from DA-344 May 26, 2026 11:10
@github-project-automation github-project-automation Bot moved this to Todo in Pycord May 26, 2026
@renovate
renovate Bot requested review from Lulalaby and Paillat-dev May 26, 2026 11:10
@renovate
renovate Bot requested a review from a team as a code owner May 26, 2026 11:10
@renovate
renovate Bot requested a review from ToothyDev May 26, 2026 11:10
@pre-commit-ci
pre-commit-ci Bot requested a review from a team May 26, 2026 11:12
@renovate
renovate Bot force-pushed the renovate/pytest-asyncio-1.x branch from a4b9def to bef51fa Compare May 26, 2026 14:53
@renovate
renovate Bot force-pushed the renovate/pytest-asyncio-1.x branch from bef51fa to c1cb281 Compare June 27, 2026 11:58
@Lulalaby
Lulalaby merged commit 978520f into master Jul 9, 2026
30 of 31 checks passed
@Lulalaby
Lulalaby deleted the renovate/pytest-asyncio-1.x branch July 9, 2026 14:10
@github-project-automation github-project-automation Bot moved this from Todo to Done in Pycord Jul 9, 2026
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 optional

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant