Update dependency pytest-asyncio to v1.4.0 #63
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "renovate/pytest-asyncio-1.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
==1.3.0→==1.4.0Release Notes
pytest-dev/pytest-asyncio (pytest-asyncio)
v1.4.0: pytest-asyncio v1.4.0Compare Source
1.4.0 - 2026-05-26
Deprecated
pytest_asyncio_loop_factorieshook instead. (#1419)Added
Added the
pytest_asyncio_loop_factorieshook 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.fixturefunctions now see the correct event loop when custom loop factories are configured, even when test code disrupts the current event loop (e.g., viaasyncio.run()orasyncio.set_event_loop(None)). (#1164)Changed
asyncio_default_fixture_loop_scopeis unset (#1298)asyncio.AbstractEventLoopPolicyfor type checking to avoid raisinga DeprecationWarning. (#1394)
Fixed
ResourceWarning: unclosed event loopwarning that could occur when a synchronous test calledasyncio.run()or otherwise unset the current event loop after pytest-asyncio had run an async test or fixture. (#724)Notes for Downstream Packagers
sphinx-tabs >= 3.5to organize documentation examples into tabs. (#1395)Configuration
📅 Schedule: (UTC)
🚦 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.
This PR has been generated by Mend Renovate.