From 63cc649058bba03691119bcec003fd26d81507c8 Mon Sep 17 00:00:00 2001 From: Benjamin Himes Date: Wed, 2 Apr 2025 21:53:06 +0200 Subject: [PATCH 1/6] Trigger no-op From d269ec1f5a77a346f6ff33e3913895b442404bc9 Mon Sep 17 00:00:00 2001 From: Benjamin Himes Date: Wed, 2 Apr 2025 21:53:27 +0200 Subject: [PATCH 2/6] Bumps versions. --- pyproject.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 2652c869..9354746a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,16 +22,16 @@ dependencies = [ "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", + "typer>=0.12,<0.16", + "websockets>=14.1,<16.0", "bittensor-wallet>=3.0.4", "plotille>=5.0.0", "pywry>=0.6.2", From 2596878f83e0ff9b6cf8da798a3fc8478e943ac2 Mon Sep 17 00:00:00 2001 From: BD Himes <37844818+thewhaleking@users.noreply.github.com> Date: Fri, 4 Apr 2025 15:52:12 +0200 Subject: [PATCH 3/6] Update pyproject.toml Co-authored-by: Roman <167799377+roman-opentensor@users.noreply.github.com> --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 9354746a..99f00bb0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,7 +32,7 @@ dependencies = [ "scalecodec==1.2.11", "typer>=0.12,<0.16", "websockets>=14.1,<16.0", - "bittensor-wallet>=3.0.4", + "bittensor-wallet>=3.0.7", "plotille>=5.0.0", "pywry>=0.6.2", "plotly>=6.0.0", From 495bfb59732813656f6fd9c98d9b907651cdc291 Mon Sep 17 00:00:00 2001 From: Benjamin Himes Date: Fri, 4 Apr 2025 17:32:10 +0200 Subject: [PATCH 4/6] Reduce direct requirements, and import exceptions for catching from async-substrate-interface --- bittensor_cli/cli.py | 7 +++++-- pyproject.toml | 3 +-- 2 files changed, 6 insertions(+), 4 deletions(-) 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 99f00bb0..e5768d6a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,7 +16,7 @@ requires-python = ">=3.9,<3.14" dependencies = [ "wheel", "async-property==0.2.2", - "async-substrate-interface>=1.0.8", + "async-substrate-interface>=1.0.9", "aiohttp~=3.10.2", "backoff~=2.2.1", "GitPython>=3.0.0", @@ -31,7 +31,6 @@ dependencies = [ "rich>=13.7,<15.0", "scalecodec==1.2.11", "typer>=0.12,<0.16", - "websockets>=14.1,<16.0", "bittensor-wallet>=3.0.7", "plotille>=5.0.0", "pywry>=0.6.2", From f58663ae5c7ab9c9c6f3bc99171d137c519f3206 Mon Sep 17 00:00:00 2001 From: Benjamin Himes Date: Mon, 7 Apr 2025 20:47:03 +0200 Subject: [PATCH 5/6] Bump substrate --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index e5768d6a..4a406900 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,7 +16,7 @@ requires-python = ">=3.9,<3.14" dependencies = [ "wheel", "async-property==0.2.2", - "async-substrate-interface>=1.0.9", + "async-substrate-interface>=1.1.0", "aiohttp~=3.10.2", "backoff~=2.2.1", "GitPython>=3.0.0", From 80d0d2f7537d584edad977a0478de2f564c9a59e Mon Sep 17 00:00:00 2001 From: Benjamin Himes Date: Mon, 7 Apr 2025 22:47:23 +0200 Subject: [PATCH 6/6] Trigger no-op