diff --git a/bittensor_cli/cli.py b/bittensor_cli/cli.py index 5b508184..84497ce6 100755 --- a/bittensor_cli/cli.py +++ b/bittensor_cli/cli.py @@ -15,14 +15,17 @@ import rich import typer import numpy as np -from async_substrate_interface.errors import SubstrateRequestException +from async_substrate_interface.errors import ( + SubstrateRequestException, + ConnectionClosed, + InvalidHandshake, +) from bittensor_wallet import Wallet from rich import box from rich.prompt import Confirm, FloatPrompt, Prompt, IntPrompt from rich.table import Column, Table from rich.tree import Tree from typing_extensions import Annotated -from websockets import ConnectionClosed, InvalidHandshake from yaml import safe_dump, safe_load from bittensor_cli.src import ( diff --git a/pyproject.toml b/pyproject.toml index 7dd501e3..4a406900 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,23 +16,22 @@ requires-python = ">=3.9,<3.14" dependencies = [ "wheel", "async-property==0.2.2", - "async-substrate-interface>=1.0.8", + "async-substrate-interface>=1.1.0", "aiohttp~=3.10.2", "backoff~=2.2.1", "GitPython>=3.0.0", "fuzzywuzzy~=0.18.0", "netaddr~=1.3.0", - "numpy>=2.0.1", + "numpy>=2.0.1,<3.0.0", "Jinja2", "pycryptodome>=3.0.0,<4.0.0", "PyYAML~=6.0.1", "pytest", "python-Levenshtein", - "rich~=13.7", + "rich>=13.7,<15.0", "scalecodec==1.2.11", - "typer~=0.12", - "websockets>=14.1", - "bittensor-wallet>=3.0.5", + "typer>=0.12,<0.16", + "bittensor-wallet>=3.0.7", "plotille>=5.0.0", "pywry>=0.6.2", "plotly>=6.0.0",