From the repository root, check the Python bindings and portable fixtures with:
make host-protocol-checkThe suite validates against the OpenAPI document, which it asks the host protocol package to print. That needs Node and the package's one dependency.
pnpm install --filter @marimo-team/host-protocol --prodThis includes experimental fixtures. Tests that need a running host are skipped. The contributor workflow also covers TypeScript generation and package checks.
Start a host in a disposable workspace and pass its discovery record. The suite creates and modifies notebooks and starts and stops runtimes; you manage the host's lifecycle.
uv run --locked --project protocols/host/conformance \
pytest -c protocols/host/conformance/pyproject.toml \
protocols/host/conformance protocols/host/experimental \
--record /path/to/hosts-v1/host.jsonThe suite skips tests for capabilities the host does not offer, so review the
skipped tests. Repeat --require-operation <operation> to assert advertised
operations, and use --slow to include idle ping checks. Replace --record
and its path with --help for all options.