Skip to content

Commit 1088a9c

Browse files
committed
chore: Prepare release of v1.4.0a1.
1 parent f8b1c75 commit 1088a9c

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

docs/reference/changelog.rst

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,34 @@ This project uses `towncrier <https://towncrier.readthedocs.io/>`__ for changelo
1010

1111
.. towncrier release notes start
1212
13+
`1.4.0a1 <https://github.com/pytest-dev/pytest-asyncio/tree/1.4.0a1>`_ - 2026-04-15
14+
===================================================================================
15+
16+
Added
17+
-----
18+
19+
- Added the ``pytest_asyncio_loop_factories`` hook to parametrize asyncio tests with custom event loop factories.
20+
21+
The hook returns a mapping of factory names to loop factories, and ``pytest.mark.asyncio(loop_factories=[...])`` selects a subset of configured factories per test. When a single factory is configured, test names are unchanged on pytest 8.4+.
22+
23+
Synchronous ``@pytest_asyncio.fixture`` functions now see the correct event loop when custom loop factories are configured, even when test code disrupts the current event loop (e.g., via ``asyncio.run()`` or ``asyncio.set_event_loop(None)``). (`#1164 <https://github.com/pytest-dev/pytest-asyncio/issues/1164>`_)
24+
25+
26+
Changed
27+
-------
28+
29+
- Improved the readability of the warning message that is displayed when ``asyncio_default_fixture_loop_scope`` is unset (`#1298 <https://github.com/pytest-dev/pytest-asyncio/issues/1298>`_)
30+
- Only import ``asyncio.AbstractEventLoopPolicy`` for type checking to avoid raising
31+
a DeprecationWarning. (`#1394 <https://github.com/pytest-dev/pytest-asyncio/issues/1394>`_)
32+
- Updated minimum supported pytest version to v8.4.0. (`#1397 <https://github.com/pytest-dev/pytest-asyncio/issues/1397>`_)
33+
34+
35+
Notes for Downstream Packagers
36+
------------------------------
37+
38+
- Added dependency on ``sphinx-tabs >= 3.5`` to organize documentation examples into tabs. (`#1395 <https://github.com/pytest-dev/pytest-asyncio/issues/1395>`_)
39+
40+
1341
`1.3.0 <https://github.com/pytest-dev/pytest-asyncio/tree/1.3.0>`_ - 2025-11-10
1442
===============================================================================
1543

0 commit comments

Comments
 (0)