Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 1, 2025

Bumps pytest-aiohttp from 1.0.5 to 1.1.0.

Release notes

Sourced from pytest-aiohttp's releases.

pytest-aiohttp v1.1.0

pytest-aiohttp

pytest plugin for aiohttp support

The library provides useful fixtures for creation test aiohttp server and client.

Installation

.. code-block:: console

$ pip install pytest-aiohttp

Add asyncio_mode = auto line to pytest configuration <https://docs.pytest.org/en/latest/customize.html>_ (see pytest-asyncio modes <https://github.com/pytest-dev/pytest-asyncio#modes>_ for details). The plugin works with strict mode also.

Usage

Write tests in pytest-asyncio <https://github.com/pytest-dev/pytest-asyncio>_ style using provided fixtures for aiohttp test server and client creation. The plugin provides resources cleanup out-of-the-box.

The simple usage example:

.. code-block:: python

from aiohttp import web

async def hello(request): return web.Response(body=b"Hello, world")

def create_app(): app = web.Application() app.router.add_route("GET", "/", hello) return app

async def test_hello(aiohttp_client): client = await aiohttp_client(create_app()) resp = await client.get("/")

... (truncated)

Changelog

Sourced from pytest-aiohttp's changelog.

1.1.0 (2025-01-23)

  • Drop Python 3.8 (#57)

  • Export the plugin types at top-level (#60, #61)

  • Add host parameter to aiohttp_server fixture (#63)

Commits

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 Upgrade or downgrade of project dependencies. minor This PR causes a minor version bump in the version number. python labels Apr 1, 2025
@agners
Copy link
Collaborator

agners commented Apr 1, 2025

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/pip/pytest-aiohttp-1.1.0 branch 3 times, most recently from bc6da0a to eadbf90 Compare April 1, 2025 17:10
@agners
Copy link
Collaborator

agners commented Apr 1, 2025

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/pip/pytest-aiohttp-1.1.0 branch from eadbf90 to 0ad93f6 Compare April 1, 2025 19:22
@agners
Copy link
Collaborator

agners commented Apr 1, 2025

@dependabot rebase

Bumps [pytest-aiohttp](https://github.com/aio-libs/pytest-aiohttp) from 1.0.5 to 1.1.0.
- [Release notes](https://github.com/aio-libs/pytest-aiohttp/releases)
- [Changelog](https://github.com/aio-libs/pytest-aiohttp/blob/master/CHANGES.rst)
- [Commits](aio-libs/pytest-aiohttp@v1.0.5...v1.1.0)

---
updated-dependencies:
- dependency-name: pytest-aiohttp
  dependency-version: 1.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/pytest-aiohttp-1.1.0 branch from 0ad93f6 to 80b3e70 Compare April 1, 2025 19:26
@agners agners merged commit 0dfb9d0 into main Apr 1, 2025
7 checks passed
@dependabot dependabot bot deleted the dependabot/pip/pytest-aiohttp-1.1.0 branch April 1, 2025 19:31
@github-actions github-actions bot locked and limited conversation to collaborators Apr 3, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Upgrade or downgrade of project dependencies. minor This PR causes a minor version bump in the version number.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants