Skip to content

MIT license, brow setup command, install e2e on linux+macos#28

Merged
detrin merged 2 commits into
mainfrom
feat/mit-license-and-install-e2e
Jun 29, 2026
Merged

MIT license, brow setup command, install e2e on linux+macos#28
detrin merged 2 commits into
mainfrom
feat/mit-license-and-install-e2e

Conversation

@detrin

@detrin detrin commented Jun 29, 2026

Copy link
Copy Markdown
Owner

What

  • License → MIT (was Elastic License 2.0). Fixes badges + pyproject.toml; README footer was already claiming MIT.
  • brow setup command installs Chromium (patchright install chromium), so pip install brow-cli && brow setup is the full path. Friendly 503 "Chromium is not installed. Run: brow setup" instead of a raw 500 traceback when the browser binary is missing.
  • scripts/e2e.sh — hermetic clean-room test: builds/installs the wheel, runs brow setup then a real session (navigate → snapshot → eval → click).
  • install-e2e.yml — matrix {ubuntu, macos} × {3.12, 3.13}, installs from the built wheel (real user path) and runs the e2e. This is the only way to validate the macOS install.
  • Dockerfile.e2e + fixed Dockerfile to dogfood brow setup (it called playwright install, but the package ships patchright).
  • README headline now leads with the benchmark proof.

Verified locally

  • Built wheel, installed into a fresh venv on macOS, ran scripts/e2e.shPASS (brow setup installs Chromium, full session e2e works).
  • 100 tests pass (+8 new), ruff clean.

Notes

  • System python3 3.9.6 is correctly rejected by requires-python >=3.12 — possible follow-up to lower the floor.

🤖 Generated with Claude Code

detrin added 2 commits June 29, 2026 10:51
- Revert license to MIT (was Elastic 2.0); fix badges and pyproject
- Add `brow setup` to install Chromium; friendly 503 when browser missing
- Add scripts/e2e.sh clean-room test (wheel install -> setup -> session e2e)
- Add install-e2e workflow (ubuntu+macos x py3.12/3.13) building from wheel
- Add Dockerfile.e2e and fix Dockerfile to dogfood `brow setup`
- Lead README headline with benchmark proof
@detrin detrin merged commit 38e2fbf into main Jun 29, 2026
7 checks passed
@detrin detrin deleted the feat/mit-license-and-install-e2e branch June 29, 2026 09:45
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