Skip to content

Upgrading pytest-asyncio 0.26 to 1

Breaking0.26.0 → 1.4.1.post1Breaking1Platform3Deprecated1New12Changed8Fixed10Other7

BreakingUpgrade verdict

1 breaking change and 3 platform requirement changes.

  • The old event_loop fixture is gone, so tests or plugins that request it will fail.
  • The package now officially supports Python 3.15.
  • This version no longer works on Python 3.9, so users on that version must upgrade Python before upgrading the package.
  • The package can now be used, at least tentatively, on Python 3.14.
5 items need code or config changes

Python requirement changed in 1.3.0: >=3.9 → >=3.10.

Breaking1
Removes the deprecated event_loop fixture.
event_loop
Platform3
Declares support for Python 3.15.
Removes support for Python 3.9.
Adds preliminary support for Python 3.14.
Deprecated1
Overriding the event_loop_policy fixture is deprecated; use the pytest_asyncio_loop_factories hook instead.
event_loop_policypytest_asyncio_loop_factories