Skip to content

Mention fix for 630 in release notes #1121

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/1025.added.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Prelimiary support for Python 3.14
1 change: 1 addition & 0 deletions changelog.d/1106.removed.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The deprecated *event_loop* fixture.
1 change: 1 addition & 0 deletions changelog.d/1107.changed.rst
Original file line number Diff line number Diff line change
@@ -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.
1 change: 1 addition & 0 deletions changelog.d/1112.changed.rst
Original file line number Diff line number Diff line change
@@ -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``.
1 change: 1 addition & 0 deletions changelog.d/630.fixed.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
An error caused when using pytest's `--setup-plan` option.
22 changes: 0 additions & 22 deletions docs/reference/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,6 @@ This project uses `towncrier <https://towncrier.readthedocs.io/>`__ for changlog

.. towncrier release notes start

`1.0.0a1 <https://github.com/pytest-dev/pytest-asyncio/tree/1.0.0a1>`_ - 2025-05-09
===================================================================================

Removed
-------

- The deprecated *event_loop* fixture. (`#1106 <https://github.com/pytest-dev/pytest-asyncio/issues/1106>`_)


Added
-----

- Prelimiary support for Python 3.14 (`#1025 <https://github.com/pytest-dev/pytest-asyncio/issues/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 <https://github.com/pytest-dev/pytest-asyncio/issues/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 <https://github.com/pytest-dev/pytest-asyncio/issues/1112>`_)


0.26.0 (2025-03-25)
===================
- Adds configuration option that sets default event loop scope for all tests `#793 <https://github.com/pytest-dev/pytest-asyncio/issues/793>`_
Expand Down
Loading