Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

ci: resolve marimo from local wheel in sandbox tests (#9501)

Myles Scolnick06594d94d80b
diff --git a/.github/workflows/test_cli.yaml b/.github/workflows/test_cli.yaml
index 9e990ad39a..32ffc2fd88 100644
--- a/.github/workflows/test_cli.yaml
+++ b/.github/workflows/test_cli.yaml
@@ -166,8 +166,15 @@ jobs:
# xdist is disabled for CLI tests because they test process-level
# behavior (spawning marimo processes, port binding) that conflicts
# with parallel execution.
+ #
+ # UV_FIND_LINKS points sandbox subprocesses at the locally-built wheel,
+ # so `marimo[lsp]==<current version>` resolves to it instead of PyPI.
+ # Without this, a marimo release published less than UV_EXCLUDE_NEWER ago
+ # falls outside the cutoff and sandbox resolution fails.
- name: Test CLI
shell: bash
+ env:
+ UV_FIND_LINKS: ${{ github.workspace }}
run: |
uv venv
uv pip install --group=test-optional --group=dev marimo*.whl