From 9fd64da493b5278938ade7e1d73ee4a18543325a 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 6f300ba7..65e16717 100644 --- a/docs/reference/changelog.rst +++ b/docs/reference/changelog.rst @@ -10,6 +10,7 @@ Changelog - Propagates `contextvars` set in async fixtures to other fixtures and tests on Python 3.11 and above. `#1008 `_ + 0.24.0 (2024-08-22) =================== - BREAKING: Updated minimum supported pytest version to v8.2.0 @@ -17,6 +18,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)