From acb79b43584eef266404d54228b6df27664137fa Mon Sep 17 00:00:00 2001 From: yusyus Date: Wed, 18 Feb 2026 23:42:34 +0300 Subject: [PATCH] fix: add PyYAML as core dependency for workflow preset management workflow_tools.py imports yaml at module level, but PyYAML was not declared in requirements.txt or pyproject.toml core dependencies. This caused ModuleNotFoundError when tools/__init__.py was loaded, silently breaking server.py's try block and leaving list_tools undefined -- causing all test_mcp_server.py tests to fail in CI. Co-Authored-By: Claude Sonnet 4.5 --- pyproject.toml | 1 + requirements.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 732d384..d81d9a0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -63,6 +63,7 @@ dependencies = [ "networkx>=3.0", "tomli>=2.0.0; python_version < '3.11'", # TOML parser for version reading "schedule>=1.2.0", # Required for sync monitoring + "PyYAML>=6.0", # Required for workflow preset management ] [project.optional-dependencies] diff --git a/requirements.txt b/requirements.txt index efccc1e..7fe8dd6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -17,6 +17,7 @@ jsonschema==4.25.1 jsonschema-specifications==2025.9.1 mcp>=1.25,<2 packaging==25.0 +PyYAML>=6.0 pluggy==1.6.0 pydantic==2.12.3 pydantic-settings==2.11.0