diff --git a/changelog.d/1025.added.rst b/changelog.d/1025.added.rst new file mode 100644 index 00000000..24977eda --- /dev/null +++ b/changelog.d/1025.added.rst @@ -0,0 +1 @@ +Prelimiary support for Python 3.14 diff --git a/changelog.d/1106.removed.rst b/changelog.d/1106.removed.rst new file mode 100644 index 00000000..75cec456 --- /dev/null +++ b/changelog.d/1106.removed.rst @@ -0,0 +1 @@ +The deprecated *event_loop* fixture. diff --git a/changelog.d/1107.changed.rst b/changelog.d/1107.changed.rst new file mode 100644 index 00000000..94a97c08 --- /dev/null +++ b/changelog.d/1107.changed.rst @@ -0,0 +1 @@ +Scoped event loops (e.g. module-scoped loops) are created once rather than per scope (e.g. per module). This reduces the number of fixtures and speeds up collection time, especially for large test suites. diff --git a/changelog.d/1112.changed.rst b/changelog.d/1112.changed.rst new file mode 100644 index 00000000..3a4976e3 --- /dev/null +++ b/changelog.d/1112.changed.rst @@ -0,0 +1 @@ +The *loop_scope* argument to ``pytest.mark.asyncio`` no longer forces that a pytest Collector exists at the level of the specified scope. For example, a test function marked with ``pytest.mark.asyncio(loop_scope="class")`` no longer requires a class surrounding the test. This is consistent with the behavior of the *scope* argument to ``pytest_asyncio.fixture``. diff --git a/changelog.d/630.fixed.rst b/changelog.d/630.fixed.rst new file mode 100644 index 00000000..2208005d --- /dev/null +++ b/changelog.d/630.fixed.rst @@ -0,0 +1 @@ +An error caused when using pytest's `--setup-plan` option. diff --git a/docs/reference/changelog.rst b/docs/reference/changelog.rst index ed396717..8b2317bb 100644 --- a/docs/reference/changelog.rst +++ b/docs/reference/changelog.rst @@ -10,28 +10,6 @@ This project uses `towncrier `__ for changlog .. towncrier release notes start -`1.0.0a1 `_ - 2025-05-09 -=================================================================================== - -Removed -------- - -- The deprecated *event_loop* fixture. (`#1106 `_) - - -Added ------ - -- Prelimiary support for Python 3.14 (`#1025 `_) - - -Changed -------- - -- Scoped event loops (e.g. module-scoped loops) are created once rather than per scope (e.g. per module). This reduces the number of fixtures and speeds up collection time, especially for large test suites. (`#1107 `_) -- The *loop_scope* argument to ``pytest.mark.asyncio`` no longer forces that a pytest Collector exists at the level of the specified scope. For example, a test function marked with ``pytest.mark.asyncio(loop_scope="class")`` no longer requires a class surrounding the test. This is consistent with the behavior of the *scope* argument to ``pytest_asyncio.fixture``. (`#1112 `_) - - 0.26.0 (2025-03-25) =================== - Adds configuration option that sets default event loop scope for all tests `#793 `_