From 5731a09210749f450494e531840bf1903167e668 Mon Sep 17 00:00:00 2001 From: Daan Date: Wed, 27 Nov 2024 20:38:06 +0100 Subject: [PATCH] CRIT bumped websockets to 14.1 :) found the issue. --- meshbook/meshbook.py | 2 +- meshbook/requirements.txt | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/meshbook/meshbook.py b/meshbook/meshbook.py index cb29bec..97fd9fe 100644 --- a/meshbook/meshbook.py +++ b/meshbook/meshbook.py @@ -124,7 +124,7 @@ class MeshcallerWebSocket: print("Attempting WebSocket connection...") try: - async with websockets.connect(uri, extra_headers=ws_headers) as meshsocket: + async with websockets.connect(uri, additional_headers=ws_headers) as meshsocket: self.meshsocket = meshsocket await self.ws_on_open() await self.gen_simple_list() diff --git a/meshbook/requirements.txt b/meshbook/requirements.txt index 3431c21..080bbb6 100644 --- a/meshbook/requirements.txt +++ b/meshbook/requirements.txt @@ -1,5 +1,4 @@ -asyncio -argparse -configparser -pyyaml -websockets==13.1 \ No newline at end of file +asyncio==3.4.3 +configparser==7.1.0 +pyyaml==6.0.2 +websockets==14.1 \ No newline at end of file