Skip to content

Bump pytest-asyncio from 0.23.8 to 0.26.0

Ronan Amicel requested to merge dependabot-pip-pytest-asyncio-0.26.0 into main

Bumps pytest-asyncio from 0.23.8 to 0.26.0.

Release notes

Sourced from pytest-asyncio's releases.

pytest-asyncio 0.26.0

  • Adds configuration option that sets default event loop scope for all tests #793
  • Improved type annotations for pytest_asyncio.fixture #1045
  • Added typing-extensions as additional dependency for Python <3.10 #1045

pytest-asyncio 0.25.3

  • Avoid errors in cleanup of async generators when event loop is already closed #1040

pytest-asyncio 0.25.2

  • Call loop.shutdown_asyncgens() before closing the event loop to ensure async generators are closed in the same manner as asyncio.run does #1034

pytest-asyncio 0.25.1

  • Fixes an issue that caused a broken event loop when a function-scoped test was executed in between two tests with wider loop scope #950
  • Improves test collection speed in auto mode #1020
  • Corrects the warning that is emitted upon redefining the event_loop fixture

pytest-asyncio 0.25.0

0.25.0 (2024-12-13)

  • Deprecated: Added warning when asyncio test requests async @pytest.fixture in strict mode. This will become an error in a future version of flake8-asyncio. #979
  • Updates the error message about pytest.mark.asyncio's scope keyword argument to say loop_scope instead. #1004
  • Verbose log displays correct parameter name: asyncio_default_fixture_loop_scope #990
  • Propagates contextvars set in async fixtures to other fixtures and tests on Python 3.11 and above. #1008

pytest-asyncio 0.24.0

0.24.0 (2024-08-22)

  • BREAKING: Updated minimum supported pytest version to v8.2.0
  • Adds an optional loop_scope keyword argument to pytest.mark.asyncio. This argument controls which event loop is used to run the marked async test. #706, #871
  • Deprecates the optional scope keyword argument to pytest.mark.asyncio for API consistency with pytest_asyncio.fixture. Users are encouraged to use the loop_scope keyword argument, which does exactly the same.
  • Raises an error when passing scope or loop_scope as a positional argument to @pytest.mark.asyncio. #812
  • Fixes a bug that caused module-scoped async fixtures to fail when reused in other modules #862 #668

pytest-asyncio 0.24.0a1

0.24.0 (UNRELEASED)

  • BREAKING: Updated minimum supported pytest version to v8.2.0
  • Adds an optional loop_scope keyword argument to pytest.mark.asyncio. This argument controls which event loop is used to run the marked async test. #706, #871
  • Deprecates the optional scope keyword argument to pytest.mark.asyncio for API consistency with pytest_asyncio.fixture. Users are encouraged to use the loop_scope keyword argument, which does exactly the same.
  • Raises an error when passing scope or loop_scope as a positional argument to @pytest.mark.asyncio. #812
  • Fixes a bug that caused module-scoped async fixtures to fail when reused in other modules #862 #668

pytest-asyncio 0.24.0a0

0.24.0 (UNRELEASED)

  • Adds an optional loop_scope keyword argument to pytest.mark.asyncio. This argument controls which event loop is used to run the marked async test. #706, #871
  • Deprecates the optional scope keyword argument to pytest.mark.asyncio for API consistency with pytest_asyncio.fixture. Users are encouraged to use the loop_scope keyword argument, which does exactly the same.
  • Raises an error when passing scope or loop_scope as a positional argument to @pytest.mark.asyncio. #812
Commits
  • 4f8ce45 docs: Prepare release of v0.26.0.
  • 498e8a7 Build(deps): Bump attrs from 25.1.0 to 25.3.0 in /dependencies/default
  • 01c22ff build: Update project metadata to use SPDX license identifier
  • 78191c9 [pre-commit.ci] pre-commit autoupdate
  • 9a45551 Build(deps): Bump hypothesis in /dependencies/default
  • 6680409 Build(deps): Bump coverage from 7.7.0 to 7.7.1 in /dependencies/default
  • aa82c57 Build(deps): Bump iniconfig from 2.0.0 to 2.1.0 in /dependencies/default
  • cca587e [pre-commit.ci] pre-commit autoupdate
  • 5d90b29 Build(deps): Bump hypothesis in /dependencies/default
  • c262262 Build(deps): Bump coverage from 7.6.12 to 7.7.0 in /dependencies/default
  • Additional commits viewable in compare view

Merge request reports

Loading