Fix typing errors with recent versions of mypy #769
Prevent DeprecationWarning about internal use of asyncio.get_event_loop() from affecting test cases #757
Known 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
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps pytest-asyncio from 0.23.5 to 0.23.5.post1.
Release notes
Sourced from pytest-asyncio's releases.
Commits
b22d84e
[docs] Fixes the example showing how to run all tests in a session-scoped loop.f1de446
Build(deps): Bump hypothesis in /dependencies/defaultb60649a
Build(deps): Bump urllib3 from 2.2.0 to 2.2.1 in /dependencies/docs4baec47
Build(deps): Bump typing-extensions in /dependencies/defaultd44e3ac
Build(deps): Bump pytest from 8.0.0 to 8.0.2 in /dependencies/defaultcefa62e
Build(deps): Bump coverage from 7.4.1 to 7.4.3 in /dependencies/default2908860
Build(deps): Bump hypothesis in /dependencies/default20bd7d8
Build(deps): Bump pypa/gh-action-pypi-publish from 1.8.11 to 1.8.12Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show