Skip to content

Commit 00bcab4

Browse files
feat(cli)!: remove the aws cloudformation installer (#1204)
## 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>
1 parent 3c4e7da commit 00bcab4

15 files changed

Lines changed: 35 additions & 1071 deletions

File tree

‎integrations/adk-py/uv.lock‎

Lines changed: 0 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎integrations/langchain-py/uv.lock‎

Lines changed: 23 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎py/README.md‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,6 @@ Available extras:
6464
- `temporal`: installs Temporal integration dependencies
6565
- `all`: installs all optional extras
6666

67-
The `braintrust install` commands for AWS CloudFormation are deprecated. Use the
68-
[CloudFormation guide](https://docs.braintrust.dev/admin/self-hosting/aws-cloudformation)
69-
to manage existing stacks.
70-
7167
### Audio encoding
7268

7369
`braintrust[audio]` requires Python 3.12+ and uses PyAV's bundled FFmpeg codecs.

‎py/pyproject.toml‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ braintrust = "braintrust.integrations.harbor:HarborPlugin"
5555
# Install the qualified PyAV on Python 3.12+. Encoding detects PyAV/libopus
5656
# capability at runtime, including PyAV installed by a voice framework.
5757
audio = ["av==19.0.2; python_version>='3.12'"]
58-
cli = ["boto3", "python-dotenv", "uv>=0.13.4", "starlette", "uvicorn"]
58+
# TODO: remove the cli extra in the next major version.
59+
cli = ["python-dotenv", "uv>=0.13.4", "starlette", "uvicorn"]
5960
# TODO: remove the doc extra in the next major version.
6061
doc = []
6162
openai-agents = ["openai-agents"]
@@ -74,7 +75,6 @@ temporal = [
7475
]
7576
all = [
7677
"av==19.0.2; python_version>='3.12'",
77-
"boto3",
7878
"openai-agents",
7979
"opentelemetry-api",
8080
"opentelemetry-exporter-otlp-proto-http",
@@ -297,7 +297,6 @@ test-transformers = [
297297

298298
test-cli = [
299299
{include-group = "test"},
300-
"boto3",
301300
"httpx==0.28.1",
302301
"python-dotenv",
303302
"starlette",

‎py/src/braintrust/aws.py‎

Lines changed: 0 additions & 16 deletions
This file was deleted.

‎py/src/braintrust/cli/__main__.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import textwrap
66
import traceback
77

8-
from . import eval, install, push
8+
from . import eval, push
99

1010

1111
def main(args=None):
@@ -36,7 +36,7 @@ def main(args=None):
3636
)
3737
subparsers = parser.add_subparsers(help="sub-command help", dest="subcommand", required=True)
3838

39-
for module in [eval, install, push]:
39+
for module in [eval, push]:
4040
module.build_parser(subparsers, parent_parser)
4141

4242
args = parser.parse_args(args=args)

‎py/src/braintrust/cli/install/__init__.py‎

Lines changed: 0 additions & 18 deletions
This file was deleted.

‎py/src/braintrust/cli/install/_deprecation.py‎

Lines changed: 0 additions & 44 deletions
This file was deleted.

0 commit comments

Comments
 (0)