Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps-dev): bump pytest-asyncio from 0.18.3 to 0.19.0 #112

Merged
merged 1 commit into from
Jul 25, 2022

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 25, 2022

Bumps pytest-asyncio from 0.18.3 to 0.19.0.

Release notes

Sourced from pytest-asyncio's releases.

pytest-asyncio 0.19.0


title: 'pytest-asyncio: pytest support for asyncio'

image

image

image

Supported Python versions

image

pytest-asyncio is an Apache2 licensed library, written in Python, for testing asyncio code with pytest.

asyncio code is usually written in the form of coroutines, which makes it slightly more difficult to test using normal testing tools. pytest-asyncio provides useful fixtures and markers to make testing easier.

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

pytest-asyncio has been strongly influenced by pytest-tornado.

Features

  • fixtures for creating and injecting versions of the asyncio event loop
  • fixtures for injecting unused tcp/udp ports
  • pytest markers for treating tests as asyncio coroutines
  • easy testing with non-default event loops
  • support for [async def]{.title-ref} fixtures and async generator fixtures
  • support auto mode to handle all async fixtures and tests automatically by asyncio; provide strict mode if a test suite should work with different async frameworks simultaneously, e.g. asyncio and trio.

Installation

... (truncated)

Changelog

Sourced from pytest-asyncio's changelog.

0.19.0 (22-07-13)

  • BREAKING: The default asyncio_mode is now strict. [#293](https://github.com/pytest-dev/pytest-asyncio/issues/293) <https://github.com/pytest-dev/pytest-asyncio/issues/293>_
  • Removes setup.py since all relevant configuration is present setup.cfg. Users requiring an editable installation of pytest-asyncio need to use pip v21.1 or newer. [#283](https://github.com/pytest-dev/pytest-asyncio/issues/283) <https://github.com/pytest-dev/pytest-asyncio/issues/283>_
  • Declare support for Python 3.11.
Commits
  • 2da33c4 docs: Prepare v0.19.0 release. (#385)
  • 07beb80 opt into strict mode by default (#380)
  • 25c54a5 Clarify documentation of event_loop fixture (#375)
  • 49f07a4 Bump typing-extensions from 4.2.0 to 4.3.0 in /dependencies/default (#382)
  • 739198b Bump hypothesis from 6.48.0 to 6.48.3 in /dependencies/default (#381)
  • db72f25 Bump importlib-metadata from 4.11.4 to 4.12.0 in /dependencies/default (#378)
  • 4cf16cf Bump hypothesis from 6.47.3 to 6.48.0 in /dependencies/default (#377)
  • f13c85f docs: Fix typo in README.
  • b463f72 Python 3.11 support (#370)
  • 860ff51 Bump hypothesis from 6.47.2 to 6.47.3 in /dependencies/default (#373)
  • 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 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 build Changes that affect the build system or external dependencies dependencies Pull requests that update a dependency file labels Jul 25, 2022
@coveralls
Copy link

coveralls commented Jul 25, 2022

Coverage Status

Coverage remained the same at 100.0% when pulling 3cea173 on dependabot/pip/pytest-asyncio-0.19.0 into b147ac2 on main.

@dependabot dependabot bot force-pushed the dependabot/pip/pytest-asyncio-0.19.0 branch from 5104e11 to edbe3a9 Compare July 25, 2022 13:50
Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) from 0.18.3 to 0.19.0.
- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases)
- [Changelog](https://github.com/pytest-dev/pytest-asyncio/blob/master/CHANGELOG.rst)
- [Commits](pytest-dev/pytest-asyncio@v0.18.3...v0.19.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.19.0 branch from edbe3a9 to 3cea173 Compare July 25, 2022 14:09
@playpauseandstop playpauseandstop merged commit 9c6d0a3 into main Jul 25, 2022
@playpauseandstop playpauseandstop deleted the dependabot/pip/pytest-asyncio-0.19.0 branch July 25, 2022 16:30
badabump-release-bot bot pushed a commit that referenced this pull request Jul 25, 2022
Fixes:
------

- **BREAKING CHANGE:** (**cors**) Handle CORS correctly in case of HTTPException (#98)

Other:
------

- Fix auto release tag workflow (#107)
- Introduce reusable actions & workflows (#108)
- Add tests to latest changes in CORS middleware (#109)
- (**deps-dev**) bump coverage from 6.4.1 to 6.4.2 (#110)
- (**deps-dev**) bump mypy from 0.961 to 0.971 (#111)
- (**deps-dev**) bump pytest-asyncio from 0.18.3 to 0.19.0 (#112)
playpauseandstop added a commit that referenced this pull request Jul 25, 2022
Fixes:
------

- **BREAKING CHANGE:** (**cors**) Handle CORS correctly in case of HTTPException (#98)

Other:
------

- Fix auto release tag workflow (#107)
- Introduce reusable actions & workflows (#108)
- Add tests to latest changes in CORS middleware (#109)
- (**deps-dev**) bump coverage from 6.4.1 to 6.4.2 (#110)
- (**deps-dev**) bump mypy from 0.961 to 0.971 (#111)
- (**deps-dev**) bump pytest-asyncio from 0.18.3 to 0.19.0 (#112)

Co-authored-by: playpauseandstop <playpauseandstop@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Changes that affect the build system or external dependencies dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants