Repository navigation
[CB-0] [sdk-superfan] Fix the README pip install lines - #225
Draft
spicysouvlaki wants to merge 1 commit into
Draft
spicysouvlaki wants to merge 1 commit into
spicysouvlaki wants to merge 1 commit into
Conversation
`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
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.
What happened. The README's install commands are mis-quoted:
pip install '--pre browserbase'fails withunexpected argument '--pre browserbase' found. Found while fixing #176.Why. The quotes turn
--pre browserbaseinto one argument (README.md:20and:93). Stainless wrote the lines during the 1.5.0 alpha; the package is stable now, so--preisn't needed.Fix.
pip install browserbaseandpip install 'browserbase[aiohttp]'.Tests.
uv pip install --dry-run: the old line errors, and both new lines resolvebrowserbase==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