Skip to content

⬆️ Update dependency pytest-asyncio to v1.4.0 - #1508

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

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

Conversation

@renovate

@renovate renovate Bot commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
pytest-asyncio (changelog) ==1.3.0==1.4.0 age adoption passing 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
    • "before 2am"
  • 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.

@renovate renovate Bot added dependencies Upgrade or downgrade of project dependencies. no-stale This issue or PR is exempted from the stable bot. labels Jun 5, 2026
@codecov

codecov Bot commented Jun 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (1698b87) to head (a826696).

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #1508   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           14        14           
  Lines         1379      1379           
  Branches       150       150           
=========================================
  Hits          1379      1379           

☔ 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 24 times, most recently from b1fecb9 to cd4cacf Compare June 14, 2026 08:29
@renovate
renovate Bot force-pushed the renovate/pytest-asyncio-1.x branch 7 times, most recently from 0f964ec to dfc0a6d Compare July 10, 2026 05:33
@renovate
renovate Bot force-pushed the renovate/pytest-asyncio-1.x branch 5 times, most recently from 62ef356 to 3ac4668 Compare July 16, 2026 13:21
@renovate
renovate Bot force-pushed the renovate/pytest-asyncio-1.x branch 6 times, most recently from 13aad9c to f619fe7 Compare July 26, 2026 06:05
@renovate
renovate Bot force-pushed the renovate/pytest-asyncio-1.x branch from f619fe7 to b1ab442 Compare August 5, 2026 10:50
@renovate
renovate Bot enabled auto-merge (squash) August 21, 2026 14:01
@renovate
renovate Bot force-pushed the renovate/pytest-asyncio-1.x branch from b1ab442 to a51595b Compare August 21, 2026 14:01
@renovate renovate Bot added the python label Aug 21, 2026
@renovate
renovate Bot force-pushed the renovate/pytest-asyncio-1.x branch 2 times, most recently from f89b59f to 9bb8c0f Compare August 21, 2026 22:54
@renovate
renovate Bot force-pushed the renovate/pytest-asyncio-1.x branch from 9bb8c0f to a826696 Compare August 22, 2026 02:29
@sonarqubecloud

Copy link
Copy Markdown

@renovate
renovate Bot merged commit 0a18acb into main Aug 22, 2026
17 checks passed
@renovate
renovate Bot deleted the renovate/pytest-asyncio-1.x branch August 22, 2026 04:57
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 23, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Upgrade or downgrade of project dependencies. no-stale This issue or PR is exempted from the stable bot. python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants