Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 31, 2023

Bumps pytest-asyncio from 0.19.0 to 0.22.0.

Release notes

Sourced from pytest-asyncio's releases.

pytest-asyncio 0.22.0

0.22.0 (2023-10-31)

  • Class-scoped and module-scoped event loops can be requested via the asyncio_event_loop mark. #620
  • Deprecate redefinition of the event_loop fixture. #587 Users requiring a class-scoped or module-scoped asyncio event loop for their tests should mark the corresponding class or module with asyncio_event_loop.
  • Test items based on asynchronous generators always exit with xfail status and emit a warning during the collection phase. This behavior is consistent with synchronous yield tests. #642
  • Remove support for Python 3.7
  • Declare support for Python 3.12

pytest-asyncio 0.21.1

0.21.1 (2023-07-12)

  • Output a proper error message when an invalid asyncio_mode is selected.
  • Extend warning message about unclosed event loops with additional possible cause. #531
  • Previously, some tests reported "skipped" or "xfailed" as a result. Now all tests report a "success" result.

pytest-asyncio 0.21.0

0.21.0 (23-03-19)

  • Drop compatibility with pytest 6.1. Pytest-asyncio now depends on pytest 7.0 or newer.
  • pytest-asyncio cleans up any stale event loops when setting up and tearing down the event_loop fixture. This behavior has been deprecated and pytest-asyncio emits a DeprecationWarning when tearing down the event_loop fixture and current event loop has not been closed.

pytest-asyncio 0.20.3


title: 'pytest-asyncio'

image

image

image

Supported Python versions

image

pytest-asyncio is a pytest plugin. It facilitates testing of code that uses the asyncio library.

Specifically, pytest-asyncio provides support for coroutines as test functions. This allows users to await code inside their tests. For example, the following code is executed as a test item by pytest:

... (truncated)

Commits
  • a950f55 Prepare for release of v0.22.0.
  • 349d9c8 Build(deps): Bump outcome in /dependencies/default
  • 494601d Build(deps): Bump pytest from 7.4.2 to 7.4.3 in /dependencies/default
  • 044e568 [feat] Emit a deprecation warning when the event_loop fixture is explicitly r...
  • 9f75b3c [fix] Fixes an issue that causes DeprecationWarnings for event loop overrides...
  • b7c66db [build] Run code examples in docs as tests.
  • 62bf444 [docs] Extracted most Python code examples into separate files.
  • b6b2c7f [refactor] Simplified code in test_asyncio_mark.
  • 4bca1d7 [feat] Test items based on asynchronous generators always exit with xfail s...
  • d697a12 [refactor] test_warn_asyncio_marker_for_regular_func uses pytester, instead o...
  • Additional commits viewable in compare view

Dependabot compatibility score

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 <dependency name> 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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Oct 31, 2023
@dependabot dependabot bot force-pushed the dependabot/pip/pytest-asyncio-0.22.0 branch 3 times, most recently from 1653215 to f0a4796 Compare November 6, 2023 20:05
Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) from 0.19.0 to 0.22.0.
- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases)
- [Commits](pytest-dev/pytest-asyncio@v0.19.0...v0.22.0)

---
updated-dependencies:
- dependency-name: pytest-asyncio
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/pytest-asyncio-0.22.0 branch from f0a4796 to 8afcfff Compare November 6, 2023 20:06
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 4, 2023

Superseded by #205.

@dependabot dependabot bot closed this Dec 4, 2023
@dependabot dependabot bot deleted the dependabot/pip/pytest-asyncio-0.22.0 branch December 4, 2023 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant