Skip to content

pytest-asyncio 1.0.0

Latest
Compare
Choose a tag to compare
@seifertm seifertm released this 26 May 04:55
· 3 commits to main since this release
v1.0.0

1.0.0 - 2025-05-26

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)

Fixed

  • An error caused when using pytest's [--setup-plan]{.title-ref}
    option.
    (#630)
  • Unsuppressed import errors with pytest option
    --doctest-ignore-import-errors
    (#797)
  • A "fixture not found" error in connection with package-scoped loops
    (#1052)

Notes for Downstream Packagers

  • Removed a test that had an ordering dependency on other tests.
    (#1114)