Merge pull request #10910 from freqtrade/dependabot/pip/develop/websockets-14.0
Some checks failed
Build Documentation / Deploy Docs through mike (push) Waiting to run
Pre-commit auto-update / auto-update (push) Has been cancelled

chore(deps): bump websockets from 13.1 to 14.0
This commit is contained in:
Matthias 2024-11-11 19:48:05 +01:00 committed by GitHub
commit e8cd6b3be3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 5 additions and 7 deletions

View File

@ -1,7 +1,7 @@
from typing import Any
from fastapi import WebSocket as FastAPIWebSocket
from websockets.client import WebSocketClientProtocol as WebSocket
from websockets.asyncio.client import ClientConnection as WebSocket
from freqtrade.rpc.api_server.ws.types import WebSocketType

View File

@ -1,7 +1,7 @@
from typing import Any, TypeVar
from fastapi import WebSocket as FastAPIWebSocket
from websockets.client import WebSocketClientProtocol as WebSocket
from websockets.asyncio.client import ClientConnection as WebSocket
WebSocketType = TypeVar("WebSocketType", FastAPIWebSocket, WebSocket)

View File

@ -213,8 +213,7 @@ class ExternalMessageConsumer:
except (
socket.gaierror,
ConnectionRefusedError,
websockets.exceptions.InvalidStatusCode,
websockets.exceptions.InvalidMessage,
websockets.exceptions.InvalidHandshake,
) as e:
logger.error(f"Connection Refused - {e} retrying in {self.sleep_time}s")
await asyncio.sleep(self.sleep_time)

View File

@ -57,7 +57,7 @@ pytz==2024.2
schedule==1.2.2
#WS Messages
websockets==13.1
websockets==14.0
janus==1.1.0
ast-comments==1.2.2

View File

@ -253,8 +253,7 @@ async def create_client(
except (
socket.gaierror,
ConnectionRefusedError,
websockets.exceptions.InvalidStatusCode,
websockets.exceptions.InvalidMessage,
websockets.exceptions.InvalidHandshake,
) as e:
logger.error(f"Connection Refused - {e} retrying in {sleep_time}s")
await asyncio.sleep(sleep_time)