# Test-only dependencies for CI. ComfyUI users never install this file —
# requirements.txt is the one ComfyUI-Manager reads.
#
# torch comes from the CPU wheel index, which the workflow passes as
# --extra-index-url (not --index-url: replacing PyPI outright leaves torch's own
# dependencies resolvable only from that index). Upper bounds keep a major
# release from breaking CI on its own schedule; Dependabot proposes the bumps.

# What ComfyUI itself provides at runtime, so the node can be imported and run.
# These floors say what CI installs by default, not what the node supports: the
# oldest-deps job pins Pillow and numpy to the oldest supported release on its
# own, so a bump here never stops that from being tested.
numpy>=2.2.6,<3
pillow>=12.3.0,<13
torch>=2.14.1,<3
aiohttp>=3.14.3,<4

# Server-side video decoding for the frame picker routes.
av>=12,<20

# Test tooling: the coverage gate, the lint gate, and the workflow parsing in
# tests/test_packaging.py. ruff is held to one minor: a new minor adds rules to
# the selected B/UP sets, and that upgrade belongs in a reviewed Dependabot PR
# rather than in the next unrelated push.
coverage>=7.16.2,<8
ruff>=0.16.9,<0.17
pyyaml>=6.0.3,<7
