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

[dependency]: bump pytest-aiohttp from 1.0.5 to 1.1.0 in /lightapi/python in the light-python-dependencies group #1244

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 26, 2025

Bumps the light-python-dependencies group in /lightapi/python with 1 update: pytest-aiohttp.

Updates 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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the light-python-dependencies group in /lightapi/python with 1 update: [pytest-aiohttp](https://github.com/aio-libs/pytest-aiohttp).


Updates `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-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: light-python-dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 26, 2025

The following labels could not be found: LightAPI.

Copy link

codecov bot commented Jan 26, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.23%. Comparing base (711add3) to head (d117b4d).
Report is 1 commits behind head on dev.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##              dev    #1244      +/-   ##
==========================================
- Coverage   98.25%   98.23%   -0.03%     
==========================================
  Files         163      158       -5     
  Lines        6649     6515     -134     
  Branches      143      143              
==========================================
- Hits         6533     6400     -133     
+ Misses        116      115       -1     
Flag Coverage Δ
explorer-rest ?
lightapi-python 98.35% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

see 5 files with indirect coverage changes

Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 31, 2025

This pull request was built based on a group rule. Closing it will not ignore any of these versions in future pull requests.

To ignore these dependencies, configure ignore rules in dependabot.yml

@dependabot dependabot bot deleted the dependabot/pip/lightapi/python/dev/light-python-dependencies-6678036646 branch January 31, 2025 03:10
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.

0 participants