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 <noreply@anthropic.com>
This commit is contained in:
@@ -63,6 +63,7 @@ dependencies = [
|
|||||||
"networkx>=3.0",
|
"networkx>=3.0",
|
||||||
"tomli>=2.0.0; python_version < '3.11'", # TOML parser for version reading
|
"tomli>=2.0.0; python_version < '3.11'", # TOML parser for version reading
|
||||||
"schedule>=1.2.0", # Required for sync monitoring
|
"schedule>=1.2.0", # Required for sync monitoring
|
||||||
|
"PyYAML>=6.0", # Required for workflow preset management
|
||||||
]
|
]
|
||||||
|
|
||||||
[project.optional-dependencies]
|
[project.optional-dependencies]
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ jsonschema==4.25.1
|
|||||||
jsonschema-specifications==2025.9.1
|
jsonschema-specifications==2025.9.1
|
||||||
mcp>=1.25,<2
|
mcp>=1.25,<2
|
||||||
packaging==25.0
|
packaging==25.0
|
||||||
|
PyYAML>=6.0
|
||||||
pluggy==1.6.0
|
pluggy==1.6.0
|
||||||
pydantic==2.12.3
|
pydantic==2.12.3
|
||||||
pydantic-settings==2.11.0
|
pydantic-settings==2.11.0
|
||||||
|
|||||||
Reference in New Issue
Block a user