@@ -98,7 +98,7 @@ def test_preserves_opencode_backend_from_existing_config(tmp_path: Path) -> None
9898 assert "Runtime: opencode (preserved from" in result .stdout
9999 assert "Installing . ..." in result .stdout
100100 assert (tmp_path / "calls.log" ).read_text (encoding = "utf-8" ).splitlines () == [
101- "uv tool install --upgrade --python >=3.12 ." ,
101+ "uv tool install --upgrade --python >=3.12 . --with click>=8.1.0,<9.0.0 " ,
102102 "ouroboros setup --runtime opencode --non-interactive" ,
103103 ]
104104
@@ -114,7 +114,7 @@ def test_explicit_claude_installs_mcp_and_claude_extras(tmp_path: Path) -> None:
114114 calls = (tmp_path / "calls.log" ).read_text (encoding = "utf-8" )
115115 assert "Runtime: claude (from --runtime / OUROBOROS_INSTALL_RUNTIME)" in result .stdout
116116 assert (
117- "uv tool install --upgrade --python >=3.12 . --with mcp>=1.26.0,<2.0.0 --with claude-agent-sdk>=0.1.0,<1.0.0 --with anthropic>=0.52.0,<1.0.0"
117+ "uv tool install --upgrade --python >=3.12 . --with click>=8.1.0,<9.0.0 --with mcp>=1.26.0,<2.0.0 --with claude-agent-sdk>=0.1.0,<1.0.0 --with anthropic>=0.52.0,<1.0.0"
118118 in calls
119119 )
120120 assert "ouroboros setup --runtime claude --non-interactive" in calls
@@ -130,7 +130,9 @@ def test_pypi_lookup_failure_stays_stable_only_for_remote_install(tmp_path: Path
130130
131131 assert result .returncode == 0 , result .stderr
132132 calls = (tmp_path / "calls.log" ).read_text (encoding = "utf-8" )
133- assert "uv tool install --upgrade --python >=3.12 ouroboros-ai" in calls
133+ assert (
134+ "uv tool install --upgrade --python >=3.12 ouroboros-ai --with click>=8.1.0,<9.0.0" in calls
135+ )
134136 assert "--prerelease=allow" not in calls
135137
136138
0 commit comments