From 09fe013ff96dc3eec84da3658f9efa293c110e22 Mon Sep 17 00:00:00 2001 From: James Veitch <1722315+darth-veitcher@users.noreply.github.com> Date: Wed, 22 Jul 2026 20:20:33 +0100 Subject: [PATCH] fix(tests): update Dockerfile test to expect python:3.13-slim docker/Dockerfile was bumped from 3.11 to 3.13 in 50076d7 without updating the assertion, breaking the suite on main. Verified 3.13 compatibility by building the image and booting ComfyUI 0.27.0 in it (custom node loads, DB migrations run, no errors) before updating the pinned version the test enforces. Fixes #20 Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01YArD9ZjBWKsAvazmS48amA --- tests/test_packaging.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_packaging.py b/tests/test_packaging.py index b8633bb..27d3759 100644 --- a/tests/test_packaging.py +++ b/tests/test_packaging.py @@ -210,8 +210,8 @@ class TestDockerCompose: "docker/Dockerfile not found — run T041-I to create it" ) - def test_dockerfile_uses_python_311_base(self): + def test_dockerfile_uses_python_313_base(self): text = DOCKERFILE.read_text() - assert "FROM python:3.11" in text, ( - "Dockerfile must use python:3.11 base image (CPU-only, no CUDA)" + assert "FROM python:3.13" in text, ( + "Dockerfile must use python:3.13 base image (CPU-only, no CUDA)" )