Skip to content

Commit 06594d9

Browse files
authored
ci: resolve marimo from local wheel in sandbox tests (#9501)
UV_EXCLUDE_NEWER=7 days could reject a freshly-published marimo when sandbox subprocesses tried to install marimo[lsp]==<version> from PyPI. Point UV_FIND_LINKS at the wheel artifact so sandbox tests use the wheel under test instead of PyPI.
1 parent 31d54e0 commit 06594d9

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/test_cli.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,15 @@ jobs:
166166
# xdist is disabled for CLI tests because they test process-level
167167
# behavior (spawning marimo processes, port binding) that conflicts
168168
# with parallel execution.
169+
#
170+
# UV_FIND_LINKS points sandbox subprocesses at the locally-built wheel,
171+
# so `marimo[lsp]==<current version>` resolves to it instead of PyPI.
172+
# Without this, a marimo release published less than UV_EXCLUDE_NEWER ago
173+
# falls outside the cutoff and sandbox resolution fails.
169174
- name: Test CLI
170175
shell: bash
176+
env:
177+
UV_FIND_LINKS: ${{ github.workspace }}
171178
run: |
172179
uv venv
173180
uv pip install --group=test-optional --group=dev marimo*.whl

0 commit comments

Comments
 (0)