build(deps): add pillow to dev group for image-encode tests (T001)

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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UvS9TFMCFYNHC4MMvzJaZS
This commit is contained in:
Claude
2026-07-22 18:59:57 +00:00
parent a40c1ba373
commit f4a3390f13
3 changed files with 4 additions and 1 deletions
+1
View File
@@ -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",
+1 -1
View File
@@ -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)
---
Generated
+2
View File
@@ -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" },