Build(deps-dev): Bump pytest-asyncio from 0.23.5 to 0.23.5.post1
Bumps pytest-asyncio from 0.23.5 to 0.23.5.post1.
Release notes
Sourced from pytest-asyncio's releases.
pytest-asyncio 0.23.5.post1
0.23.5 (2024-02-09)
- Declare compatibility with pytest 8 #737
- Fix typing errors with recent versions of mypy #769
- Prevent DeprecationWarning about internal use of
asyncio.get_event_loop()
from affecting test cases #757Known issues
As of v0.23, pytest-asyncio attaches an asyncio event loop to each item of the test suite (i.e. session, packages, modules, classes, functions) and allows tests to be run in those loops when marked accordingly. Pytest-asyncio currently assumes that async fixture scope is correlated with the new event loop scope. This prevents fixtures from being evaluated independently from the event loop scope and breaks some existing test suites (see #706). For example, a test suite may require all fixtures and tests to run in the same event loop, but have async fixtures that are set up and torn down for each module. If you're affected by this issue, please continue using the v0.21 release, until it is resolved.
Commits
-
b22d84e
[docs] Fixes the example showing how to run all tests in a session-scoped loop. -
f1de446
Build(deps): Bump hypothesis in /dependencies/default -
b60649a
Build(deps): Bump urllib3 from 2.2.0 to 2.2.1 in /dependencies/docs -
4baec47
Build(deps): Bump typing-extensions in /dependencies/default -
d44e3ac
Build(deps): Bump pytest from 8.0.0 to 8.0.2 in /dependencies/default -
cefa62e
Build(deps): Bump coverage from 7.4.1 to 7.4.3 in /dependencies/default -
2908860
Build(deps): Bump hypothesis in /dependencies/default -
20bd7d8
Build(deps): Bump pypa/gh-action-pypi-publish from 1.8.11 to 1.8.12 - See full diff in compare view