Skip to content

Commit

Permalink
Bump the all-dependencies group with 20 updates (#3321)
Browse files Browse the repository at this point in the history
* Bump the all-dependencies group with 20 updates

Bumps the all-dependencies group with 20 updates:

| Package | From | To |
| --- | --- | --- |
| [typing-extensions](https://github.com/python/typing_extensions) | `4.8.0` | `4.9.0` |
| [pygments](https://github.com/pygments/pygments) | `2.16.1` | `2.17.2` |
| [uvicorn](https://github.com/encode/uvicorn) | `0.24.0.post1` | `0.25.0` |
| [django](https://github.com/django/django) | `4.2.7` | `4.2.9` |
| [quart](https://github.com/pallets/quart) | `0.19.3` | `0.19.4` |
| [chalice](https://github.com/aws/chalice) | `1.29.0` | `1.30.0` |
| [sanic](https://github.com/sanic-org/sanic) | `23.6.0` | `23.12.0` |
| [aiohttp](https://github.com/aio-libs/aiohttp) | `3.8.6` | `3.9.1` |
| [fastapi](https://github.com/tiangolo/fastapi) | `0.104.1` | `0.106.0` |
| [rich](https://github.com/Textualize/rich) | `13.6.0` | `13.7.0` |
| [ddtrace](https://github.com/DataDog/dd-trace-py) | `2.1.6` | `2.4.0` |
| [freezegun](https://github.com/spulec/freezegun) | `1.2.2` | `1.4.0` |
| [pytest](https://github.com/pytest-dev/pytest) | `7.4.3` | `7.4.4` |
| [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) | `0.21.1` | `0.23.3` |
| [pytest-xdist](https://github.com/pytest-dev/pytest-xdist) | `3.4.0` | `3.5.0` |
| [sanic-testing](https://github.com/sanic-org/sanic-testing) | `23.6.0` | `23.12.0` |
| [sentry-sdk](https://github.com/getsentry/sentry-python) | `1.35.0` | `1.39.1` |
| [types-ujson](https://github.com/python/typeshed) | `5.8.0.1` | `5.9.0.0` |
| [botocore](https://github.com/boto/botocore) | `1.31.84` | `1.34.13` |
| [mypy](https://github.com/python/mypy) | `1.7.0` | `1.8.0` |


Updates `typing-extensions` from 4.8.0 to 4.9.0
- [Release notes](https://github.com/python/typing_extensions/releases)
- [Changelog](https://github.com/python/typing_extensions/blob/main/CHANGELOG.md)
- [Commits](python/typing_extensions@4.8.0...4.9.0)

Updates `pygments` from 2.16.1 to 2.17.2
- [Release notes](https://github.com/pygments/pygments/releases)
- [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES)
- [Commits](pygments/pygments@2.16.1...2.17.2)

Updates `uvicorn` from 0.24.0.post1 to 0.25.0
- [Release notes](https://github.com/encode/uvicorn/releases)
- [Changelog](https://github.com/encode/uvicorn/blob/master/CHANGELOG.md)
- [Commits](encode/uvicorn@0.24.0.post1...0.25.0)

Updates `django` from 4.2.7 to 4.2.9
- [Commits](django/django@4.2.7...4.2.9)

Updates `quart` from 0.19.3 to 0.19.4
- [Changelog](https://github.com/pallets/quart/blob/main/CHANGES.rst)
- [Commits](pallets/quart@0.19.3...0.19.4)

Updates `chalice` from 1.29.0 to 1.30.0
- [Changelog](https://github.com/aws/chalice/blob/master/CHANGELOG.rst)
- [Commits](aws/chalice@1.29.0...1.30.0)

Updates `sanic` from 23.6.0 to 23.12.0
- [Release notes](https://github.com/sanic-org/sanic/releases)
- [Commits](sanic-org/sanic@v23.6.0...v23.12.0)

Updates `aiohttp` from 3.8.6 to 3.9.1
- [Release notes](https://github.com/aio-libs/aiohttp/releases)
- [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst)
- [Commits](aio-libs/aiohttp@v3.8.6...v3.9.1)

Updates `fastapi` from 0.104.1 to 0.106.0
- [Release notes](https://github.com/tiangolo/fastapi/releases)
- [Commits](fastapi/fastapi@0.104.1...0.106.0)

Updates `rich` from 13.6.0 to 13.7.0
- [Release notes](https://github.com/Textualize/rich/releases)
- [Changelog](https://github.com/Textualize/rich/blob/master/CHANGELOG.md)
- [Commits](Textualize/rich@v13.6.0...v13.7.0)

Updates `ddtrace` from 2.1.6 to 2.4.0
- [Release notes](https://github.com/DataDog/dd-trace-py/releases)
- [Changelog](https://github.com/DataDog/dd-trace-py/blob/main/CHANGELOG.md)
- [Commits](DataDog/dd-trace-py@v2.1.6...v2.4.0)

Updates `freezegun` from 1.2.2 to 1.4.0
- [Release notes](https://github.com/spulec/freezegun/releases)
- [Changelog](https://github.com/spulec/freezegun/blob/master/CHANGELOG)
- [Commits](spulec/freezegun@1.2.2...1.4.0)

Updates `pytest` from 7.4.3 to 7.4.4
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](pytest-dev/pytest@7.4.3...7.4.4)

Updates `pytest-asyncio` from 0.21.1 to 0.23.3
- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases)
- [Commits](pytest-dev/pytest-asyncio@v0.21.1...v0.23.3)

Updates `pytest-xdist` from 3.4.0 to 3.5.0
- [Release notes](https://github.com/pytest-dev/pytest-xdist/releases)
- [Changelog](https://github.com/pytest-dev/pytest-xdist/blob/master/CHANGELOG.rst)
- [Commits](pytest-dev/pytest-xdist@v3.4.0...v3.5.0)

Updates `sanic-testing` from 23.6.0 to 23.12.0
- [Release notes](https://github.com/sanic-org/sanic-testing/releases)
- [Commits](sanic-org/sanic-testing@v23.6.0...v23.12.0)

Updates `sentry-sdk` from 1.35.0 to 1.39.1
- [Release notes](https://github.com/getsentry/sentry-python/releases)
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md)
- [Commits](getsentry/sentry-python@1.35.0...1.39.1)

Updates `types-ujson` from 5.8.0.1 to 5.9.0.0
- [Commits](https://github.com/python/typeshed/commits)

Updates `botocore` from 1.31.84 to 1.34.13
- [Changelog](https://github.com/boto/botocore/blob/develop/CHANGELOG.rst)
- [Commits](boto/botocore@1.31.84...1.34.13)

Updates `mypy` from 1.7.0 to 1.8.0
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@v1.7.0...v1.8.0)

---
updated-dependencies:
- dependency-name: typing-extensions
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-dependencies
- dependency-name: pygments
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-dependencies
- dependency-name: uvicorn
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-dependencies
- dependency-name: django
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-dependencies
- dependency-name: quart
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-dependencies
- dependency-name: chalice
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-dependencies
- dependency-name: sanic
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-dependencies
- dependency-name: aiohttp
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-dependencies
- dependency-name: fastapi
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-dependencies
- dependency-name: rich
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-dependencies
- dependency-name: ddtrace
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: all-dependencies
- dependency-name: freezegun
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: all-dependencies
- dependency-name: pytest
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: all-dependencies
- dependency-name: pytest-asyncio
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: all-dependencies
- dependency-name: pytest-xdist
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: all-dependencies
- dependency-name: sanic-testing
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: all-dependencies
- dependency-name: sentry-sdk
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: all-dependencies
- dependency-name: types-ujson
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: all-dependencies
- dependency-name: botocore
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: all-dependencies
- dependency-name: mypy
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: all-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>

* Mark test as flaky

* Fix typing issues

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Patrick Arminio <patrick.arminio@gmail.com>
  • Loading branch information
dependabot[bot] and patrick91 authored Jan 6, 2024
1 parent f30e2e5 commit dbf6b3f
Show file tree
Hide file tree
Showing 6 changed files with 250 additions and 356 deletions.
589 changes: 241 additions & 348 deletions poetry.lock

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ opentelemetry-sdk = "<2"
pygments = "^2.3"
pyinstrument = {version = ">=4.0.0", optional = false}
pytest = "^7.2"
pytest-asyncio = ">=0.20.3,<0.22.0"
pytest-asyncio = ">=0.20.3,<0.24.0"
pytest-codspeed = "^2.0.1"
pytest-cov = "^4.0.0"
pytest-emoji = "^0.2.0"
Expand All @@ -96,8 +96,8 @@ types-toml = "^0.10.8"
types-typed-ast = "^1.5.8"
types-ujson = "^5.6.0"
# added this here manually because poetry doesn't seem to be able to handle it =(
botocore = "1.31.84"
mypy = "1.7.0"
botocore = "1.34.13"
mypy = "1.8.0"
pytest-mypy-plugins = ">=1.10,<4.0"
types-protobuf = "^4.23.0.1"

Expand Down
2 changes: 1 addition & 1 deletion strawberry/aiohttp/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def __init__(self, request: web.Request):

@property
def query_params(self) -> QueryParams:
return self.request.query.copy()
return self.request.query.copy() # type: ignore[attr-defined]

async def get_body(self) -> str:
return (await self.request.content.read()).decode()
Expand Down
6 changes: 3 additions & 3 deletions strawberry/chalice/views.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from __future__ import annotations

import warnings
from typing import TYPE_CHECKING, Any, Dict, Mapping, Optional, Union, cast
from typing import TYPE_CHECKING, Any, Dict, List, Mapping, Optional, Union, cast

from chalice.app import Request, Response
from strawberry.http.exceptions import HTTPException
Expand Down Expand Up @@ -92,7 +92,7 @@ def error_response(
message: str,
error_code: str,
http_status_code: int,
headers: Optional[Dict[str, str]] = None,
headers: Optional[Dict[str, str | List[str]]] = None,
) -> Response:
"""
A wrapper for error responses
Expand All @@ -117,7 +117,7 @@ def create_response(
return Response(
body=self.encode_json(response_data),
status_code=status_code,
headers=sub_response.headers,
headers=sub_response.headers, # type: ignore[arg-type]
)

def execute_request(self, request: Request) -> Response:
Expand Down
2 changes: 1 addition & 1 deletion strawberry/sanic/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ async def post(self, request: Request) -> HTTPResponse:
except HTTPException as e:
return HTTPResponse(e.reason, status=e.status_code)

async def get(self, request: Request) -> HTTPResponse:
async def get(self, request: Request) -> HTTPResponse: # type: ignore[override]
try:
return await self.run(request)
except HTTPException as e:
Expand Down
1 change: 1 addition & 0 deletions tests/websockets/test_graphql_transport_ws.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ async def test_connection_init_timeout_cancellation(
)


@pytest.mark.xfail(reason="This test is flaky")
async def test_close_twice(
mocker: MockerFixture, request: Any, http_client_class: Type[HttpClient]
):
Expand Down

0 comments on commit dbf6b3f

Please sign in to comment.