diff --git a/docs/how-to-guides/migrate_from_0_23.rst b/docs/how-to-guides/migrate_from_0_23.rst index 1235f358..280b0a80 100644 --- a/docs/how-to-guides/migrate_from_0_23.rst +++ b/docs/how-to-guides/migrate_from_0_23.rst @@ -1,3 +1,5 @@ +.. _how_to_guides/migrate_from_0_23: + ======================================== How to migrate from pytest-asyncio v0.23 ======================================== diff --git a/docs/reference/changelog.rst b/docs/reference/changelog.rst index f5f0b189..116bf935 100644 --- a/docs/reference/changelog.rst +++ b/docs/reference/changelog.rst @@ -62,6 +62,10 @@ Notes for Downstream Packagers `1.0.0 `_ - 2025-05-26 =============================================================================== +.. seealso:: + + :ref:`How to migrate from pytest-asyncio v0.23 ` + Removed ------- @@ -211,6 +215,10 @@ As of v0.23, pytest-asyncio attaches an asyncio event loop to each item of the t This release is backwards-compatible with v0.21. Changes are non-breaking, unless you upgrade from v0.22. +.. seealso:: + + :ref:`How to migrate from pytest-asyncio v0.21 ` + - BREAKING: The *asyncio_event_loop* mark has been removed. Event loops with class, module, package, and session scopes can be requested via the *scope* keyword argument to the _asyncio_ mark. - Introduces the *event_loop_policy* fixture which allows testing with non-default or multiple event loops `#662 `_ - Introduces ``pytest_asyncio.is_async_test`` which returns whether a test item is managed by pytest-asyncio `#376 `_