Files
darth-veitcher-comfydv/pyproject.toml
T
James VeitchandClaude Sonnet 5 9d90f39854 feat(llm): scaffold LLMProvider protocol and OllamaProvider (T001-T006)
Adds pydantic-ai-slim[openai] per ADR-007, the Message/ModelStatus/
ModelInfo/LLMProvider protocol, and an OllamaProvider skeleton carrying
host/headers as instance state — ported _post_json/_fetch_models/_run_async/
_TTLLRUCache infra from comfydv.ollama unchanged. Method bodies land per
user story in specs/007-llm-provider-abstraction/tasks.md.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0132ojafeazQ3ephcBejEWFj
2026-07-11 13:25:47 +01:00

70 lines
1.8 KiB
TOML

[project]
name = "comfydv"
dynamic = ["version"]
requires-python = ">=3.11"
description = "Quality of life ComfyUI nodes: dynamic string formatting, seed-controlled random selection, and conditional queue interruption."
readme = "README.md"
authors = [
{ name = "darth-veitcher", email = "1722315+darth-veitcher@users.noreply.github.com" }
]
dependencies = [
"aiohttp>=3.9.0",
"jinja2>=3.1.6",
"pydantic>=2.0",
"pydantic-ai-slim[openai]>=2.9.0",
]
[project.urls]
Repository = "https://github.com/darth-veitcher/comfydv"
Documentation = "https://darth-veitcher.github.io/comfydv/stable/"
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[tool.hatch.version]
source = "vcs"
[dependency-groups]
dev = [
"playwright>=1.60.0",
"pytest>=8.4.2",
"pytest-cov>=6.0.0",
"pyyaml>=6.0.2",
"torch>=2.9.0",
"torchvision>=0.24.0",
]
docs = [
"mike>=2.1.3",
"mkdocs>=1.6.1",
"mkdocs-gen-files>=0.5.0",
"mkdocs-literate-nav>=0.6.2",
"mkdocs-material>=9.6.9",
"mkdocs-section-index>=0.3.9",
"mkdocstrings[python]>=0.29.0",
"shtab>=1.7.1",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
# Note: Root __init__.py is excluded to avoid ComfyUI import issues during testing
norecursedirs = [".git", ".venv", "htmlcov", "docs"]
addopts = [
"-v",
"--strict-markers",
"--tb=short",
"--cov=src/comfydv",
"--cov-report=term-missing",
"--cov-report=html",
"--ignore=__init__.py",
]
markers = [
"unit: Unit tests",
"integration: Integration tests requiring live Ollama at localhost:11434",
"system: System tests requiring the full docker-compose harness",
"slow: Slow tests",
]