From 5f80dc1270d368d7b4744ab675fe7606b90fad38 Mon Sep 17 00:00:00 2001 From: Robsdedude Date: Wed, 11 Dec 2024 13:29:54 +0100 Subject: [PATCH] changelog += `asyncio_default_fixture_loop_scope` This config option is arguably a new API surface, and it took me a fair bit of git archaeology to figure out from which version on I can use this config option. This entry might save some users some time in the future :) --- docs/reference/changelog.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/reference/changelog.rst b/docs/reference/changelog.rst index d29fa184..8453dc40 100644 --- a/docs/reference/changelog.rst +++ b/docs/reference/changelog.rst @@ -8,6 +8,7 @@ Changelog - Updates the error message about `pytest.mark.asyncio`'s `scope` keyword argument to say `loop_scope` instead. `#1004 `_ - Verbose log displays correct parameter name: asyncio_default_fixture_loop_scope `#990 `_ + 0.24.0 (2024-08-22) =================== - BREAKING: Updated minimum supported pytest version to v8.2.0 @@ -15,6 +16,7 @@ Changelog - Deprecates the optional `scope` keyword argument to `pytest.mark.asyncio` for API consistency with ``pytest_asyncio.fixture``. Users are encouraged to use the `loop_scope` keyword argument, which does exactly the same. - Raises an error when passing `scope` or `loop_scope` as a positional argument to ``@pytest.mark.asyncio``. `#812 `_ - Fixes a bug that caused module-scoped async fixtures to fail when reused in other modules `#862 `_ `#668 `_ +- Added the ``asyncio_default_fixture_loop_scope`` configuration option `c74d1c3 `_ 0.23.8 (2024-07-17)