diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6f1b3ce6..291d2eec 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1451,6 +1451,9 @@ jobs: - name: The offline suite touches nothing outside itself run: | + # tests/test_ocr_server.py draws a two-frame TIFF with Pillow, as the OCR lane's drawing container does in + # SGLang 1.0.0's image, whose Pillow this is: the runner has none (v1.62.0's pull request, 2026-12-04). + pip install 'pillow==13.0.0' # This repo's tests are run on the box that serves production, so # "offline" has to be a checked property and not an intention. The # suite gets a witness tree, runs, and the tree must be identical @@ -1536,6 +1539,7 @@ jobs: # bench.sh, needle.sh and the tools), which unittest cannot discover, # so each of those has to be named by a step of its own. pip install 'jinja2==3.1.6' # tests/test_lean_level.py renders with it + pip install 'pillow==13.0.0' # tests/test_ocr_server.py draws a TIFF with it (the OCR image's Pillow) # tests/test_proxy_systemone.py's round trip through TypeSafe's own SDK. A failed # install is refused below on the runner, where the SDK is not optional. pip install 'typesafe-sdk==0.7.0' 2>/dev/null || echo "typesafe-sdk unavailable: the SDK round trip will skip"