From f00b828ce3914a0c48d1f3dc338f966300edc85a Mon Sep 17 00:00:00 2001 From: chris-colinsky Date: Sat, 16 May 2026 20:51:20 -0700 Subject: [PATCH] fix(release): install examples dep group in release workflow The release workflow's ``Sync deps`` step ran ``uv sync --frozen --all-extras`` without ``--group examples``, so ``openai`` was missing from the venv and the four ``tests/test_examples_smoke.py`` cases failed at module-load time with ``ModuleNotFoundError``. ``ci.yml`` has been doing the right thing since #43; this brings ``release.yml`` in line. Surfaced when the v0.6.0 tag fired the workflow for the first time since #43 landed. The drift sat dormant because release.yml only runs on tag pushes. --- .github/workflows/release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5ee0a2d..5bc721d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,8 +38,11 @@ jobs: # ``Unknown`` for every OTel-typed expression in # ``tests/{conformance,unit}/test_observability*.py`` and the # whole job fails (pyright doesn't honor pytest.importorskip). + # ``--group examples`` mirrors ``ci.yml`` so the + # ``tests/test_examples_smoke.py`` modules can import ``openai`` + # at load time (the examples themselves are runnable demos). - name: Sync deps - run: uv sync --frozen --all-extras + run: uv sync --frozen --all-extras --group examples # Fail fast if pyproject.toml's version doesn't match the pushed # tag. Both sides go through `packaging.version.Version` so PEP 440