Repository navigation
feat(cli): deprecate aws cloudformation install commands - #1201
Merged
Abhijeet Prasad (AbhiPrasad) merged 2 commits intoNov 27, 2026
Merged
Abhijeet Prasad (AbhiPrasad) merged 2 commits into
Abhijeet Prasad (AbhiPrasad) merged 2 commits into
Conversation
> 🤖 **This text was AI-generated.** The Python SDK's `braintrust install` commands are not moving to the new CLI. Keep the commands working, but add a warning on stderr and mark them deprecated in help. Point operators to the CloudFormation guide for existing stacks and recommend Terraform for AWS self-hosting. 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
[Medium impact] The PR appears safe to merge; no actionable issues were found. SummaryMarks the AWS CloudFormation
No new actionable issues were found. Reviews (2) · Last reviewed commit: "fix(cli): point deprecated install comma..." · Reviewed by Greptile |
> 🤖 **This text was AI-generated.** Self-hosting guides are for organizations with existing deployments. Keep the deprecation warning and README focused on the CloudFormation guide for those stacks, without recommending a different deployment method. Co-authored-by: Abhijeet Prasad <abhijeet@braintrustdata.com>
Abhijeet Prasad (AbhiPrasad)
approved these changes
Nov 27, 2026
Abhijeet Prasad (AbhiPrasad)
enabled auto-merge (squash)
November 27, 2026 21:35
Abhijeet Prasad (AbhiPrasad)
deleted the
devin/1795810802-deprecate-braintrust-install
branch
November 27, 2026 21:42
This was referenced Nov 29, 2026
Abhijeet Prasad (AbhiPrasad)
added a commit
that referenced
this pull request
Nov 30, 2026
## Summary `braintrust eval` and `braintrust push` now print a stderr deprecation warning pointing to the standalone [`bt`](https://github.com/braintrustdata/bt) CLI, 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 of `cli/install/` (which is being removed separately). `__main__.py` is untouched. ``` Warning: braintrust eval is deprecated. Use bt eval. Install bt: https://github.com/braintrustdata/bt#installation Warning: braintrust push is deprecated. Use bt functions push. Install bt: https://github.com/braintrustdata/bt#installation ``` --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Abhijeet Prasad <abhijeet@braintrustdata.com>
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 install(api, logs, bump-versions, run-migrations) is being retired rather than ported tobt. Code stays for now; each subcommand is registered via a sharedadd_deprecated_parserincli/install/_deprecation.py, which:(deprecated)in--helpand adds the deprecation text to its description,boto3/botocore imports are deferred into the handlers, so
--helpworks withoutbraintrust[cli]; the missing-dependency message is preserved at run time.py/README.mdnotes the deprecation.cli/test_install.pyruns the installed CLI (no mocks).Companion docs/Makefile PR in braintrustdata/braintrust removes
braintrust installfrom the CloudFormation guide.Link to Devin session: https://braintrust.devinenterprise.com/sessions/d31abde6db4743ffab13f81a9a1505d6
Open in Devin Desktop: https://braintrust.devinenterprise.com/desktop/session/d31abde6db4743ffab13f81a9a1505d6?variant=devin