Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 3, 2023

Bumps pytest-asyncio from 0.18.3 to 0.21.0.

Release notes

Sourced from pytest-asyncio's releases.

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:

@pytest.mark.asyncio
async def test_some_asyncio_code():
    res = await library.do_something()
    assert b"expected result" == res

Note that test classes subclassing the standard unittest library are not supported. Users are advised to use unittest.IsolatedAsyncioTestCase or an async framework such as asynctest.

pytest-asyncio is available under the Apache License 2.0.

Installation

... (truncated)

Commits
  • 75dccea [docs] Prepare v0.21.0.
  • 46b8f9e [build] Tests are run against Python 3.12 (dev). (#514)
  • 947e31a Deprecate closing of existing loops (#510)
  • e1cc62d Build(deps): Bump pypa/gh-action-pypi-publish from 1.7.1 to 1.8.1 (#513)
  • f51948e Build(deps): Bump pypa/gh-action-pypi-publish from 1.6.4 to 1.7.1 (#509)
  • 455d945 Build(deps): Bump mypy from 1.0.1 to 1.1.1 in /dependencies/default (#507)
  • 108b322 Build(deps): Bump exceptiongroup in /dependencies/default (#508)
  • 3d63056 Build(deps): Bump pytest from 7.2.1 to 7.2.2 in /dependencies/default (#506)
  • 1dfb3b7 Build(deps): Bump coverage from 7.1.0 to 7.2.1 in /dependencies/default (#505)
  • 254bd85 Build(deps): Bump zipp from 3.13.0 to 3.15.0 in /dependencies/default (#504)
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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 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)
> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot requested a review from a team April 3, 2023 14:05
@danielknell
Copy link
Member

@dependabot rebase

Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) from 0.18.3 to 0.21.0.
- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases)
- [Commits](pytest-dev/pytest-asyncio@v0.18.3...v0.21.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.21.0 branch from eaaa0c0 to 8316403 Compare May 15, 2023 09:53
@danielknell danielknell merged commit 6946f96 into main May 15, 2023
@danielknell danielknell deleted the dependabot/pip/pytest-asyncio-0.21.0 branch May 15, 2023 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants