---
title: "pytest-asyncio 1.4.0 Breaking Changes on PyPI | Since.dev"
description: "What each pytest-asyncio release removed, renamed or changed: 46 breaking changes in 15 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/pytest-asyncio
last_updated: 2026-12-04
---

# pytest-asyncio breaking changes

pytest-asyncio 1.4.0 (May 26, 2026) is its newest release with breaking changes. The first: Drops support for pytest versions below 8.4 in pytest-asyncio 1.4.0. Every breaking API change we have recorded in pytest-asyncio on PyPI: 46 breaking changes in 15 versions. Below, its 15 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `1.5.0`, released November 12, 2026. [Source repository](https://github.com/pytest-dev/pytest-asyncio)

Its 1.3.0 release drops [Python 3.9](https://since.dev/calendar/python/3.9.md). [Python end of life dates](https://since.dev/calendar/python.md).

- From [0.26.0](#v-0-26-0) to [1.4.0](#v-1-4-0): 10 breaking changes in 4 versions.
- From [0.17.0](#v-0-17-0) to [1.4.0](#v-1-4-0): 39 breaking changes in 12 versions.

## pytest-asyncio 1.4.0 breaking changes

pytest-asyncio 1.4.0, released May 26, 2026: 1 breaking change.

- **Removed**  

The minimum supported pytest version is now 8.4.0, so older pytest versions are no longer supported and users must upgrade pytest. [github.com](https://github.com/pytest-dev/pytest-asyncio/releases/tag/v1.4.0)

## pytest-asyncio 1.3.0 breaking changes

pytest-asyncio 1.3.0, released November 10, 2025: 1 breaking change.

- **Removed**  

Python 3.9 is no longer supported; users on Python 3.9 must upgrade their Python version before using this release. [github.com](https://github.com/pytest-dev/pytest-asyncio/releases/tag/v1.3.0)

## pytest-asyncio 1.0.0 breaking changes

pytest-asyncio 1.0.0, released May 26, 2025: 6 breaking changes.

- **Removed** `pytest_asyncio.plugin.event_loop`  

The deprecated event_loop fixture was removed, so code that uses it must stop depending on it. [pypi.org](https://pypi.org/project/pytest-asyncio/1.0.0/)
- **Removed** `pytest_asyncio.plugin.MultipleEventLoopsRequestedError`  

pytest_asyncio.plugin.MultipleEventLoopsRequestedError was removed in pytest-asyncio 1.0.0 [pypi.org](https://pypi.org/project/pytest-asyncio/1.0.0/)
- **Removed** `pytest_asyncio.plugin.pytest_collectstart`  

pytest_asyncio.plugin.pytest_collectstart was removed in pytest-asyncio 1.0.0 [pypi.org](https://pypi.org/project/pytest-asyncio/1.0.0/)
- **Removed** `pytest_asyncio.plugin.pytest_fixture_setup`  

pytest_asyncio.plugin.pytest_fixture_setup was removed in pytest-asyncio 1.0.0 [pypi.org](https://pypi.org/project/pytest-asyncio/1.0.0/)
- **Behavior changed**  

Scoped event loops such as module-scoped loops are created once instead of per scope, which can change test isolation and fixture behavior. [github.com](https://github.com/pytest-dev/pytest-asyncio/releases/tag/v1.0.0)
- **Behavior changed** `pytest.mark.asyncio`  

The loop_scope argument to pytest.mark.asyncio no longer requires a pytest Collector at the specified scope, so a test marked with loop_scope="class" no longer needs a surrounding class. [github.com](https://github.com/pytest-dev/pytest-asyncio/releases/tag/v1.0.0)

## pytest-asyncio 1.0.0a1 breaking changes

pytest-asyncio 1.0.0a1, released May 26, 2025: 2 breaking changes.

- **Behavior changed**  

Scoped event loops such as module-scoped loops are created once instead of per scope, which can change test isolation and fixture behavior. [github.com](https://github.com/pytest-dev/pytest-asyncio/releases/tag/v1.0.0a1)
- **Behavior changed** `pytest.mark.asyncio`  

The loop_scope argument to pytest.mark.asyncio no longer requires a pytest Collector at the specified scope, so a test marked with loop_scope="class" no longer needs a surrounding class. [github.com](https://github.com/pytest-dev/pytest-asyncio/releases/tag/v1.0.0a1)

## pytest-asyncio 0.26.0 breaking changes

pytest-asyncio 0.26.0, released March 25, 2025: 4 breaking changes.

- **Removed** `pytest_asyncio.plugin.FactoryFixtureFunction`  

pytest_asyncio.plugin.FactoryFixtureFunction was removed in pytest-asyncio 0.26.0 [pypi.org](https://pypi.org/project/pytest-asyncio/0.26.0/)
- **Removed** `pytest_asyncio.plugin.FixtureFunctionMarker`  

pytest_asyncio.plugin.FixtureFunctionMarker was removed in pytest-asyncio 0.26.0 [pypi.org](https://pypi.org/project/pytest-asyncio/0.26.0/)
- **Removed** `pytest_asyncio.plugin.SimpleFixtureFunction`  

pytest_asyncio.plugin.SimpleFixtureFunction was removed in pytest-asyncio 0.26.0 [pypi.org](https://pypi.org/project/pytest-asyncio/0.26.0/)
- **Signature changed** `pytest_asyncio.fixture`  

Was def fixture(fixture_function: FixtureFunction | None = None, loop_scope: \_ScopeName | None = None, \*\*kwargs: Any) -> FixtureFunction | FixtureFunctionMarker; now def fixture(fixture_function: FixtureFunction\[\_P, \_R\] | None = None... [pypi.org](https://pypi.org/project/pytest-asyncio/0.26.0/)

## pytest-asyncio 0.24.0 breaking changes

pytest-asyncio 0.24.0, released August 22, 2024: 5 breaking changes.

- **Behavior changed** `pytest.mark.asyncio`  

Positional arguments for scope or loop_scope to @pytest.mark.asyncio now raise an error. Pass them as keyword arguments instead. [github.com](https://github.com/pytest-dev/pytest-asyncio/releases/tag/v0.24.0)
- **Configuration changed**  

The minimum supported pytest version is now 8.2.0. Upgrade pytest before updating pytest-asyncio. [github.com](https://github.com/pytest-dev/pytest-asyncio/releases/tag/v0.24.0)
- **Signature changed** `pytest_asyncio.fixture`  

Was def fixture(fixture_function: Optional\[FixtureFunction\] = None, \*\*kwargs: Any) -> Union\[FixtureFunction, FixtureFunctionMarker\]; now def fixture(fixture_function: Optional\[FixtureFunction\] = None, loop_scope: Union\[\_ScopeName, None\] =... [pypi.org](https://pypi.org/project/pytest-asyncio/0.24.0/)
- **Signature changed** `pytest_asyncio.plugin.pytest_fixture_setup`  

Was def pytest_fixture_setup(fixturedef: FixtureDef) -> Generator\[None, Any, None\]; now def pytest_fixture_setup(fixturedef: FixtureDef) -> Generator\[None, pluggy.Result, None\]. [pypi.org](https://pypi.org/project/pytest-asyncio/0.24.0/)
- **Signature changed** `pytest_asyncio.plugin.pytest_pycollect_makeitem_convert_async_functions_to_subclass`  

Was def pytest_pycollect_makeitem_convert_async_functions_to_subclass(collector: Union\[pytest.Module, pytest.Class\], name: str, obj: object) -> Generator\[None, Any, None\]; now def... [pypi.org](https://pypi.org/project/pytest-asyncio/0.24.0/)

## Older versions

9 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### pytest-asyncio 0.23.0 breaking changes

pytest-asyncio 0.23.0, released December 3, 2023: 5 breaking changes.

- **Removed** `asyncio_event_loop`  

Use the scope keyword argument of the asyncio mark to request class, module, package or session scoped event loops. [github.com](https://github.com/pytest-dev/pytest-asyncio/releases/tag/v0.23.0)
- **Removed** `pytest_asyncio.plugin.pytest_collection_modifyitems`  

pytest_asyncio.plugin.pytest_collection_modifyitems was removed in pytest-asyncio 0.23.0 [pypi.org](https://pypi.org/project/pytest-asyncio/0.23.0/)

And 3 more in this version.

### pytest-asyncio 0.22.0 breaking changes

pytest-asyncio 0.22.0, released December 3, 2023: 2 breaking changes.

- **Removed**  

Python 3.7 is no longer supported; users on Python 3.7 must stay on an older release. [github.com](https://github.com/pytest-dev/pytest-asyncio/releases/tag/v0.22.0)
- **Behavior changed**  

Test items based on asynchronous generators always exit with xfail status and emit a warning during collection, matching synchronous yield tests. [github.com](https://github.com/pytest-dev/pytest-asyncio/releases/tag/v0.22.0)

### pytest-asyncio 0.21.0 breaking changes

pytest-asyncio 0.21.0, released March 19, 2023: 6 breaking changes.

- **Removed**  

pytest-asyncio now requires pytest 7.0 or newer. Users on pytest 6.1 must upgrade pytest. [github.com](https://github.com/pytest-dev/pytest-asyncio/releases/tag/v0.21.0)
- **Removed** `pytest_asyncio.plugin.Config`  

pytest_asyncio.plugin.Config was removed in pytest-asyncio 0.21.0 [pypi.org](https://pypi.org/project/pytest-asyncio/0.21.0/)

And 4 more in this version.

### pytest-asyncio 0.20.0 breaking changes

pytest-asyncio 0.20.0, released October 21, 2022: 3 breaking changes.

- **Removed** `pytest_asyncio.plugin.LEGACY_ASYNCIO_FIXTURE`  

pytest_asyncio.plugin.LEGACY_ASYNCIO_FIXTURE was removed in pytest-asyncio 0.20.0 [pypi.org](https://pypi.org/project/pytest-asyncio/0.20.0/)
- **Removed** `pytest_asyncio.plugin.LEGACY_MODE`  

pytest_asyncio.plugin.LEGACY_MODE was removed in pytest-asyncio 0.20.0 [pypi.org](https://pypi.org/project/pytest-asyncio/0.20.0/)

And 1 more in this version.

### pytest-asyncio 0.19.0 breaking changes

pytest-asyncio 0.19.0, released July 15, 2022: 1 breaking change.

- **Default changed** `asyncio_mode`  

Starting from pytest-asyncio 0.19 the strict mode is the default instead of auto/legacy. Tests and async fixtures need @pytest.mark.asyncio and @pytest_asyncio.fixture, or set asyncio_mode = auto explicitly. [github.com](https://github.com/pytest-dev/pytest-asyncio/releases/tag/v0.19.0)

### pytest-asyncio 0.18.0 breaking changes

pytest-asyncio 0.18.0, released February 7, 2022: 3 breaking changes.

- **Removed** `pytest_asyncio.plugin.FixtureStripper`  

pytest_asyncio.plugin.FixtureStripper was removed in pytest-asyncio 0.18.0 [pypi.org](https://pypi.org/project/pytest-asyncio/0.18.0/)
- **Behavior changed** `pytest.mark.asyncio`  

Applying @pytest.mark.asyncio to a non-async function now emits a warning. Remove the marker from functions that are not coroutines. [github.com](https://github.com/pytest-dev/pytest-asyncio/releases/tag/v0.18.0)

And 1 more in this version.

### pytest-asyncio 0.17.0 breaking changes

pytest-asyncio 0.17.0, released January 13, 2022: 3 breaking changes.

- **Removed**  

pytest-asyncio 0.17.0 no longer supports Python 3.6, so projects on Python 3.6 must stay on an earlier version. [github.com](https://github.com/pytest-dev/pytest-asyncio/releases/tag/v0.17.0)
- **Removed** `pytest_asyncio.__version__`  

pytest_asyncio.\_\_version\_\_ was removed in pytest-asyncio 0.17.0 [pypi.org](https://pypi.org/project/pytest-asyncio/0.17.0/)

And 1 more in this version.

### pytest-asyncio 0.17.0a4 breaking changes

pytest-asyncio 0.17.0a4, released January 13, 2022: 2 breaking changes.

- **Removed**  

Python 3.6 is no longer supported. Users on Python 3.6 must stay on an earlier pytest-asyncio release. [github.com](https://github.com/pytest-dev/pytest-asyncio/releases/tag/v0.17.0a4)
- **Behavior changed**  

The plugin no longer alters existing asyncio event loop policies. Code that relied on the plugin changing the policy must set its own policy. [github.com](https://github.com/pytest-dev/pytest-asyncio/releases/tag/v0.17.0a4)

### pytest-asyncio 0.17.0a3 breaking changes

pytest-asyncio 0.17.0a3, released January 13, 2022: 2 breaking changes.

- **Removed**  

Python 3.6 is no longer supported. Users on Python 3.6 must stay on an earlier pytest-asyncio release. [github.com](https://github.com/pytest-dev/pytest-asyncio/releases/tag/v0.17.0a3)
- **Behavior changed**  

The plugin no longer alters existing asyncio event loop policies. Code that relied on the plugin changing the policy must set its own policy. [github.com](https://github.com/pytest-dev/pytest-asyncio/releases/tag/v0.17.0a3)

## Related packages

- [pytest-cov](https://since.dev/packages/pypi/pytest-cov.md)
- [pytest-django](https://since.dev/packages/pypi/pytest-django.md)
- [pytest-env](https://since.dev/packages/pypi/pytest-env.md)
- [pytest-github-actions-annotate-failures](https://since.dev/packages/pypi/pytest-github-actions-annotate-failures.md)
- [pytest-mock](https://since.dev/packages/pypi/pytest-mock.md)
- [pytest-rerunfailures](https://since.dev/packages/pypi/pytest-rerunfailures.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
