Drop compatibility with pytest 6.1. Pytest-asyncio now depends on pytest 7.0 or newer.
pytest-asyncio cleans up any stale event loops when setting up and tearing down the event_loop fixture. This behavior has been deprecated and pytest-asyncio emits a DeprecationWarning when tearing down the event_loop fixture and current event loop has not been closed.
Prevent DeprecationWarning to bubble up on CPython 3.10.9 and 3.11.1. #460
Fixes an issue that warned about using an old version of pytest, even though the most recent version was installed. #430
BREAKING: Removed legacy mode. If you’re upgrading from v0.19 and you haven’t configured
asyncio_mode = legacy, you can upgrade without taking any additional action. If you’re upgrading from an earlier version or you have explicitly enabled legacy mode, you need to switch to auto or strict mode before upgrading to this version.
Deprecate use of pytest v6.
Fixed an issue which prevented fixture setup from being cached. #404
Fixes a regression that prevented async fixtures from working in synchronous tests. #286
Fixes a bug that prevents async Hypothesis tests from working without explicit
--asyncio-mode=autois set. #258
Fixed a bug that closes the default event loop if the loop doesn’t exist #257
Added type annotations. #198
Show asyncio mode in pytest report headers. #266
asyncio_modetype definition; it allows to support pytest 6.1+. #262
Drop support for Python 3.6
Added flaky to test dependencies
unused_udp_port_factoryfixtures (similar to
KeyboardInterruptduring async fixture setup phase #219
Add support for Python 3.10
Run the event loop fixture as soon as possible. This helps with fixtures that have an implicit dependency on the event loop. #156
Python 3.7 support.
pytest.mark.asyncio_process_poolmarker (see https://bugs.python.org/issue34075 for deprecation and removal details)
Improve integration with other packages (like aiohttp) with more careful event loop handling. #64
Python versions pre-3.6 can use the async_generator library for async fixtures. #62 <https://github.com/pytest-dev/pytest-asyncio/pull/62>
Introduced a changelog. #31
event_loopfixture is again responsible for closing itself. This makes the fixture slightly harder to correctly override, but enables other fixtures to depend on it correctly. #30
Deal with the event loop policy by wrapping a special pytest hook,
pytest_fixture_setup. This allows setting the policy before fixtures dependent on the
event_loopfixture run, thus allowing them to take advantage of the
forbid_global_loopparameter. As a consequence of this, we now depend on pytest 3.0. #29
Fix a bug preventing the propagation of exceptions from the plugin. #25
Support for Python 3.5