mirror of
https://github.com/home-assistant/core
synced 2024-09-06 12:45:14 +00:00
Bump aiohttp to 3.9.3 (#109025)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
This commit is contained in:
parent
0013f184b3
commit
825fed8319
|
@ -3,7 +3,7 @@
|
||||||
aiodiscover==1.6.0
|
aiodiscover==1.6.0
|
||||||
aiohttp-fast-url-dispatcher==0.3.0
|
aiohttp-fast-url-dispatcher==0.3.0
|
||||||
aiohttp-zlib-ng==0.3.1
|
aiohttp-zlib-ng==0.3.1
|
||||||
aiohttp==3.9.1
|
aiohttp==3.9.3
|
||||||
aiohttp_cors==0.7.0
|
aiohttp_cors==0.7.0
|
||||||
astral==2.2
|
astral==2.2
|
||||||
async-upnp-client==0.38.1
|
async-upnp-client==0.38.1
|
||||||
|
|
|
@ -23,7 +23,7 @@ classifiers = [
|
||||||
]
|
]
|
||||||
requires-python = ">=3.11.0"
|
requires-python = ">=3.11.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"aiohttp==3.9.1",
|
"aiohttp==3.9.3",
|
||||||
"aiohttp_cors==0.7.0",
|
"aiohttp_cors==0.7.0",
|
||||||
"aiohttp-fast-url-dispatcher==0.3.0",
|
"aiohttp-fast-url-dispatcher==0.3.0",
|
||||||
"aiohttp-zlib-ng==0.3.1",
|
"aiohttp-zlib-ng==0.3.1",
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
-c homeassistant/package_constraints.txt
|
-c homeassistant/package_constraints.txt
|
||||||
|
|
||||||
# Home Assistant Core
|
# Home Assistant Core
|
||||||
aiohttp==3.9.1
|
aiohttp==3.9.3
|
||||||
aiohttp_cors==0.7.0
|
aiohttp_cors==0.7.0
|
||||||
aiohttp-fast-url-dispatcher==0.3.0
|
aiohttp-fast-url-dispatcher==0.3.0
|
||||||
aiohttp-zlib-ng==0.3.1
|
aiohttp-zlib-ng==0.3.1
|
||||||
|
|
|
@ -220,7 +220,7 @@ async def test_auth_close_after_revoke(
|
||||||
hass.auth.async_remove_refresh_token(refresh_token)
|
hass.auth.async_remove_refresh_token(refresh_token)
|
||||||
|
|
||||||
msg = await websocket_client.receive()
|
msg = await websocket_client.receive()
|
||||||
assert msg.type == aiohttp.WSMsgType.CLOSE
|
assert msg.type == aiohttp.WSMsgType.CLOSED
|
||||||
assert websocket_client.closed
|
assert websocket_client.closed
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -42,7 +42,7 @@ async def test_pending_msg_overflow(
|
||||||
for idx in range(10):
|
for idx in range(10):
|
||||||
await websocket_client.send_json({"id": idx + 1, "type": "ping"})
|
await websocket_client.send_json({"id": idx + 1, "type": "ping"})
|
||||||
msg = await websocket_client.receive()
|
msg = await websocket_client.receive()
|
||||||
assert msg.type == WSMsgType.close
|
assert msg.type == WSMsgType.CLOSED
|
||||||
|
|
||||||
|
|
||||||
async def test_cleanup_on_cancellation(
|
async def test_cleanup_on_cancellation(
|
||||||
|
@ -248,7 +248,7 @@ async def test_pending_msg_peak(
|
||||||
)
|
)
|
||||||
|
|
||||||
msg = await websocket_client.receive()
|
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 "Client unable to keep up with pending messages" in caplog.text
|
||||||
assert "Stayed over 5 for 5 seconds" in caplog.text
|
assert "Stayed over 5 for 5 seconds" in caplog.text
|
||||||
assert "overload" in caplog.text
|
assert "overload" in caplog.text
|
||||||
|
@ -296,7 +296,7 @@ async def test_pending_msg_peak_recovery(
|
||||||
msg = await websocket_client.receive()
|
msg = await websocket_client.receive()
|
||||||
assert msg.type == WSMsgType.TEXT
|
assert msg.type == WSMsgType.TEXT
|
||||||
msg = await websocket_client.receive()
|
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
|
assert "Client unable to keep up with pending messages" not in caplog.text
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,7 @@ async def test_quiting_hass(hass: HomeAssistant, websocket_client) -> None:
|
||||||
|
|
||||||
msg = await websocket_client.receive()
|
msg = await websocket_client.receive()
|
||||||
|
|
||||||
assert msg.type == WSMsgType.CLOSE
|
assert msg.type == WSMsgType.CLOSED
|
||||||
|
|
||||||
|
|
||||||
async def test_unknown_command(websocket_client) -> None:
|
async def test_unknown_command(websocket_client) -> None:
|
||||||
|
|
Loading…
Reference in a new issue