diff --git a/bittensor_cli/cli.py b/bittensor_cli/cli.py index e58e3f4e..b4b4afbe 100755 --- a/bittensor_cli/cli.py +++ b/bittensor_cli/cli.py @@ -250,7 +250,7 @@ def edit_help(cls, option_name: str, help_text: str): True, "--prompt/--no-prompt", " /--yes", - "--prompt/--no_prompt", + " /--no_prompt", " /-y", help="Enable or disable interactive prompts.", ) diff --git a/pyproject.toml b/pyproject.toml index 91a77e29..42ea0367 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,7 +18,6 @@ dependencies = [ "async-substrate-interface>=1.4.2", "aiohttp~=3.10.2", "backoff~=2.2.1", - "click<8.2.0", # typer.testing.CliRunner(mix_stderr=) is broken in click 8.2.0+ "GitPython>=3.0.0", "netaddr~=1.3.0", "numpy>=2.0.1,<3.0.0", @@ -27,7 +26,7 @@ dependencies = [ "PyYAML~=6.0.1", "rich>=13.7,<15.0", "scalecodec==1.2.11", - "typer>=0.12,<0.16", + "typer>=0.16", "bittensor-wallet>=3.0.7", "plotille>=5.0.0", "plotly>=6.0.0", diff --git a/tests/e2e_tests/utils.py b/tests/e2e_tests/utils.py index 7a3c0993..a2a87e48 100644 --- a/tests/e2e_tests/utils.py +++ b/tests/e2e_tests/utils.py @@ -55,7 +55,7 @@ def exec_command( extra_args.extend(["--network", "ws://127.0.0.1:9945"]) # Capture stderr separately from stdout - runner = CliRunner(mix_stderr=False) + runner = CliRunner() # Prepare the command arguments args = [ command,