Skip to content

DeepTutor: Lifelong Personalized Tutoring. https://deeptutor.info/.

fix(deps): make the codebuddy extra resolvable

Bingxi Zhao (Frank)00b9422336ff
diff --git a/pyproject.toml b/pyproject.toml
index 526422fb8..79d0af434 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -120,9 +120,13 @@ cli = [
# CLI) for in-app browser login and CLI-driven agent tools.
# Upper-bounded on purpose: the provider probes the SDK for its turn-limit
# and permission-mode kwargs, and a minor bump that renames them would make
-# every options build fail. Not in `all` — it vendors a ~130 MB headless CLI
-# and chat works over plain HTTP without it.
-codebuddy = ["codebuddy-agent-sdk>=0.1.24,<0.2"]
+# every options build fail — codebuddy_provider fails closed with a clear
+# message rather than running the agent unrestricted. The floor tracks the
+# published series: there is no 0.1.24 on PyPI (0.1.x stops at 0.1.19), so the
+# old `>=0.1.24,<0.2` range was unsatisfiable and any resolver rejected it.
+# Not in `all` — it vendors a ~130 MB headless CLI and chat works over plain
+# HTTP without it.
+codebuddy = ["codebuddy-agent-sdk>=0.3,<0.4"]
# Compatibility extra for source installs and older docs. These packages are
# already included in the public `deeptutor` wheel.