1
0
mirror of https://github.com/home-assistant/core synced 2024-07-05 17:29:15 +00:00

Bump aiohttp to 3.9.3 (#109025)

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
This commit is contained in:
J. Nick Koston 2024-01-29 12:15:18 -10:00 committed by GitHub
parent 0013f184b3
commit 825fed8319
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 8 additions and 8 deletions

View File

@ -3,7 +3,7 @@
aiodiscover==1.6.0
aiohttp-fast-url-dispatcher==0.3.0
aiohttp-zlib-ng==0.3.1
aiohttp==3.9.1
aiohttp==3.9.3
aiohttp_cors==0.7.0
astral==2.2
async-upnp-client==0.38.1

View File

@ -23,7 +23,7 @@ classifiers = [
]
requires-python = ">=3.11.0"
dependencies = [
"aiohttp==3.9.1",
"aiohttp==3.9.3",
"aiohttp_cors==0.7.0",
"aiohttp-fast-url-dispatcher==0.3.0",
"aiohttp-zlib-ng==0.3.1",

View File

@ -3,7 +3,7 @@
-c homeassistant/package_constraints.txt
# Home Assistant Core
aiohttp==3.9.1
aiohttp==3.9.3
aiohttp_cors==0.7.0
aiohttp-fast-url-dispatcher==0.3.0
aiohttp-zlib-ng==0.3.1

View File

@ -220,7 +220,7 @@ async def test_auth_close_after_revoke(
hass.auth.async_remove_refresh_token(refresh_token)
msg = await websocket_client.receive()
assert msg.type == aiohttp.WSMsgType.CLOSE
assert msg.type == aiohttp.WSMsgType.CLOSED
assert websocket_client.closed

View File

@ -42,7 +42,7 @@ async def test_pending_msg_overflow(
for idx in range(10):
await websocket_client.send_json({"id": idx + 1, "type": "ping"})
msg = await websocket_client.receive()
assert msg.type == WSMsgType.close
assert msg.type == WSMsgType.CLOSED
async def test_cleanup_on_cancellation(
@ -248,7 +248,7 @@ async def test_pending_msg_peak(
)
msg = await websocket_client.receive()
assert msg.type == WSMsgType.close
assert msg.type == WSMsgType.CLOSED
assert "Client unable to keep up with pending messages" in caplog.text
assert "Stayed over 5 for 5 seconds" in caplog.text
assert "overload" in caplog.text
@ -296,7 +296,7 @@ async def test_pending_msg_peak_recovery(
msg = await websocket_client.receive()
assert msg.type == WSMsgType.TEXT
msg = await websocket_client.receive()
assert msg.type == WSMsgType.close
assert msg.type == WSMsgType.CLOSED
assert "Client unable to keep up with pending messages" not in caplog.text

View File

@ -40,7 +40,7 @@ async def test_quiting_hass(hass: HomeAssistant, websocket_client) -> None:
msg = await websocket_client.receive()
assert msg.type == WSMsgType.CLOSE
assert msg.type == WSMsgType.CLOSED
async def test_unknown_command(websocket_client) -> None: