Repository navigation
feat(cli): deprecate braintrust eval and push - #1203
Merged
Abhijeet Prasad (AbhiPrasad) merged 4 commits intoNov 30, 2026
Merged
Conversation
> 🤖 **This text was AI-generated.** The Python CLI still runs evals and pushes code, but it does not tell users how to switch to the standalone bt CLI. Reuse the warning and help pattern from #1201. Point users to `bt eval` and `bt functions push` without changing how either legacy command runs. Note that Eval() sandbox registration still requires `braintrust push`. Co-authored-by: Abhijeet Prasad <abhijeet@braintrustdata.com>
Contributor
Author
|
I'll fix CI failures and address comments from users with write access that start with 'Devin'.
|
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Contributor
[Low impact] The PR appears safe to merge; no actionable defects remain. SummaryAdds deprecation warnings for
Reviews (2) · Last reviewed commit: "test(cli): remove deprecation subprocess..." · Reviewed by Greptile |
> 🤖 **This text was AI-generated.** The migration warnings listed differences that distracted from the command to run next. Keep the warnings focused on `bt eval` and `bt functions push` and end each with the installation link. This changes the warning and help text, not command behavior. Follow-up for #1203. Co-authored-by: Abhijeet Prasad <abhijeet@braintrustdata.com>
> 🤖 **This text was AI-generated.** The install CLI is being removed separately. Keep the eval and push warning helper in `cli/_deprecation.py` and leave all install files as they are on main so that removal does not conflict with these warnings. Follow-up for #1203. Co-authored-by: Abhijeet Prasad <abhijeet@braintrustdata.com>
> 🤖 **This text was AI-generated.** Keep the deprecation change limited to the command warnings and help text. Remove the new subprocess test file without changing the existing CLI tests. Follow-up for #1203. Co-authored-by: Abhijeet Prasad <abhijeet@braintrustdata.com>
Abhijeet Prasad (AbhiPrasad)
approved these changes
Nov 29, 2026
Abhijeet Prasad (AbhiPrasad)
deleted the
devin/1795995197-deprecate-eval-push-cli
branch
November 30, 2026 14:46
Abhijeet Prasad (AbhiPrasad)
added a commit
that referenced
this pull request
Nov 30, 2026
## Summary Removes the `braintrust install` CloudFormation commands deprecated in #1201 (docs already dropped them in braintrustdata/braintrust#27670): deletes `cli/install/`, `cli/test_install.py`, and `braintrust/aws.py` (only used by install), and drops the `install` registration in `cli/__main__.py`. **BREAKING:** `braintrust install ...` now errors as an unknown command. boto3: - Removed from the `cli` extra, `all` extra, and `test-cli` group (only there for install; `test_cli` runs devserver tests). - Kept: bedrock_runtime / aiobotocore nox sessions install their own pinned AWS SDKs via `[tool.braintrust.matrix]`; the Bedrock example declares its own `boto3`. `uv.lock` still has boto3 transitively via LiteLLM. `cli` extra stays (minus boto3) with a `# TODO: remove the cli extra in the next major version.` comment, matching `doc`/`temporal`. Lockfiles refreshed (`py/uv.lock`, ADK and LangChain integration lockfiles that reference the local SDK). **Related:** #1203 deprecates `braintrust eval`/`push` and adds `cli/_deprecation.py`. This PR doesn't touch that file, `eval.py`, or `push.py`, and currently merges cleanly with it; whichever lands second should rebase. Link to Devin session: https://braintrust.devinenterprise.com/sessions/da9e750b6ae747579b98fef4ec71dd92 Open in Devin Desktop: https://braintrust.devinenterprise.com/desktop/session/da9e750b6ae747579b98fef4ec71dd92?variant=devin --------- Co-authored-by: Abhijeet Prasad <abhijeet@braintrustdata.com> Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
braintrust evalandbraintrust pushnow print a stderr deprecation warning pointing to the standalonebtCLI, and are marked(deprecated)in--help. Both commands keep working unchanged.Follows the approach from #1201 via a shared
cli/_deprecation.py(add_deprecated_parser), independent ofcli/install/(which is being removed separately).__main__.pyis untouched.