Skip to content

[CB-0] [sdk-superfan] Fix the README pip install lines - #225

Draft
spicysouvlaki wants to merge 1 commit into
mainfrom
wschmitt/readme-pip-install
Draft

spicysouvlaki wants to merge 1 commit into
mainfrom
wschmitt/readme-pip-install

Conversation

@spicysouvlaki

Copy link
Copy Markdown
Collaborator

What happened. The README's install commands are mis-quoted: pip install '--pre browserbase' fails with unexpected argument '--pre browserbase' found. Found while fixing #176.

Why. The quotes turn --pre browserbase into one argument (README.md:20 and :93). Stainless wrote the lines during the 1.5.0 alpha; the package is stable now, so --pre isn't needed.

Fix. pip install browserbase and pip install 'browserbase[aiohttp]'.

Tests. uv pip install --dry-run: the old line errors, and both new lines resolve browserbase==1.26.0. There's no unit test, since the change is docs only.

Risk and rollout. Docs only. README.md is generated, and no Stainless option controls this line, so this is a sealed edit and a regen may conflict on these two lines. #219 also edits README.md, but different lines.

🤖 Generated with Claude Code

`pip install '--pre browserbase'` passes `--pre browserbase` as one
argument, so pip (and uv pip) reject it: "unexpected argument '--pre
browserbase' found". Stainless wrote it in e1f6a2b (release 1.5.0-alpha.2)
while the package was a pre-release; the package is stable now (1.26.0),
so `--pre` isn't needed at all. Same fix for the aiohttp extra, which keeps
its quotes so zsh doesn't glob the brackets.

Verified with `uv pip install --dry-run` on Python 3.12: the old line
errors, both new lines resolve browserbase==1.26.0.

README.md is generated; no stainless.yml option controls the install line,
so this is a sealed edit and a regen could conflict on these two lines.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant