From e989d131ad16840c6213dbb055fdf74c4503286b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois?= Date: Sat, 30 May 2026 16:11:50 +0200 Subject: [PATCH] validation: install the wheel with the [lsp] extra in wheel mode MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The wheel channel was installed without [lsp], so 'testium lsp' reported pygls missing. Install testium[lsp] in the wheel venv — validating the wheel's language-server-capable form, like the AppImage installs ...whl[lsp]. Co-Authored-By: Claude Opus 4.8 --- test/validation/run.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/validation/run.sh b/test/validation/run.sh index bf50e85..4a34687 100755 --- a/test/validation/run.sh +++ b/test/validation/run.sh @@ -97,7 +97,10 @@ case "$MODE" in echo "Creating wheel venv at $WHEEL_VENV" python3 -m venv --system-site-packages "$WHEEL_VENV" "$WHEEL_VENV/bin/pip" install --quiet --upgrade pip - "$WHEEL_VENV/bin/pip" install --quiet "$WHEEL" + # Install with the [lsp] extra so the wheel channel is validated in + # its language-server-capable form (pulls pygls), matching how a + # user enables `testium lsp` from a wheel: pip install testium[lsp]. + "$WHEEL_VENV/bin/pip" install --quiet "${WHEEL}[lsp]" fi CMD=("$WHEEL_VENV/bin/python" -m testium) ;;