From f4a3390f13527a2c6f366af5c1f22aa0a8f4f42f Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 22 Jul 2026 18:59:57 +0000 Subject: [PATCH] build(deps): add pillow to dev group for image-encode tests (T001) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Enables unit-testing the ChatCompletion tensor→PNG encoder without a live ComfyUI. Runtime Pillow/numpy remain ComfyUI-provided — no core runtime dep. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01UvS9TFMCFYNHC4MMvzJaZS --- pyproject.toml | 1 + specs/009-vlm-image-input/tasks.md | 2 +- uv.lock | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index bfaf05a..7332c81 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,6 +27,7 @@ source = "vcs" [dependency-groups] dev = [ + "pillow>=10.0.0", "playwright>=1.60.0", "pytest>=8.4.2", "pytest-cov>=6.0.0", diff --git a/specs/009-vlm-image-input/tasks.md b/specs/009-vlm-image-input/tasks.md index 1ed50c0..a7f5ea0 100644 --- a/specs/009-vlm-image-input/tasks.md +++ b/specs/009-vlm-image-input/tasks.md @@ -25,7 +25,7 @@ handling lives only in the `comfy`-guarded `ollama.py`. ## Phase 1: Setup -- [ ] T001 Add `pillow` to `[dependency-groups].dev` in `pyproject.toml` — lets the node's tensor→PNG encoder be unit-tested without a live ComfyUI; runtime Pillow/numpy are ComfyUI-provided, so **no core runtime dependency is added** (research.md Decision 4) +- [x] T001 Add `pillow` to `[dependency-groups].dev` in `pyproject.toml` — lets the node's tensor→PNG encoder be unit-tested without a live ComfyUI; runtime Pillow/numpy are ComfyUI-provided, so **no core runtime dependency is added** (research.md Decision 4) --- diff --git a/uv.lock b/uv.lock index 167e86e..5121ab8 100644 --- a/uv.lock +++ b/uv.lock @@ -273,6 +273,7 @@ dependencies = [ [package.dev-dependencies] dev = [ + { name = "pillow" }, { name = "playwright" }, { name = "pytest" }, { name = "pytest-cov" }, @@ -301,6 +302,7 @@ requires-dist = [ [package.metadata.requires-dev] dev = [ + { name = "pillow", specifier = ">=10.0.0" }, { name = "playwright", specifier = ">=1.60.0" }, { name = "pytest", specifier = ">=8.4.2" }, { name = "pytest-cov", specifier = ">=6.0.0" },