Skip to content

Update dependency pytest-asyncio to v1.4.0#225

Merged
renovate[bot] merged 1 commit into
mainfrom
renovate/pytest-asyncio-1.x
Jun 4, 2026
Merged

Update dependency pytest-asyncio to v1.4.0#225
renovate[bot] merged 1 commit into
mainfrom
renovate/pytest-asyncio-1.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Jun 3, 2026

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
    • Between 12:00 AM and 03:59 AM, only on Monday (* 0-3 * * 1)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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.

@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.27%. Comparing base (8e4fb77) to head (a483192).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #225   +/-   ##
=======================================
  Coverage   85.27%   85.27%           
=======================================
  Files           8        8           
  Lines         774      774           
=======================================
  Hits          660      660           
  Misses        114      114           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@renovate renovate Bot force-pushed the renovate/pytest-asyncio-1.x branch from 19eea98 to b94f39d Compare June 4, 2026 00:43
@renovate renovate Bot force-pushed the renovate/pytest-asyncio-1.x branch from b94f39d to 6fefbea Compare June 4, 2026 06:44
@renovate renovate Bot force-pushed the renovate/pytest-asyncio-1.x branch from 6fefbea to b72c346 Compare June 4, 2026 09:09
@renovate renovate Bot force-pushed the renovate/pytest-asyncio-1.x branch from b72c346 to 991da25 Compare June 4, 2026 09:39
@renovate renovate Bot force-pushed the renovate/pytest-asyncio-1.x branch from 991da25 to a483192 Compare June 4, 2026 10:17
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Jun 4, 2026

@renovate renovate Bot merged commit 8dcd3f0 into main Jun 4, 2026
14 checks passed
@renovate renovate Bot deleted the renovate/pytest-asyncio-1.x branch June 4, 2026 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants