refactor: Update migration code

This commit is contained in:
Igor Ilic 2025-12-15 16:38:43 +01:00
parent fdfa2b9bab
commit edd000bc38
2 changed files with 4 additions and 3 deletions

View file

@ -7,9 +7,8 @@ requires-python = ">=3.10"
dependencies = [
# For local cognee repo usage remove comment bellow and add absolute path to cognee. Then run `uv sync --reinstall` in the mcp folder on local cognee changes.
"cognee[postgres,codegraph,gemini,huggingface,docs,neo4j] @ file:/Users/igorilic/Desktop/cognee/dist/cognee-0.5.0.dev0-py3-none-any.whl",
# TODO: Remove gemini from optional dependecnies for new Cognee version after 0.3.4
#"cognee[postgres,docs,neo4j]==0.5.0",
#"cognee[postgres,codegraph,huggingface,docs,neo4j] @ file:/Users/igorilic/Desktop/cognee",
"cognee[postgres,docs,neo4j]==0.5.0",
"fastmcp>=2.10.0,<3.0.0",
"mcp>=1.12.0,<2.0.0",
"uv>=0.6.3,<1.0.0",

View file

@ -44,3 +44,5 @@ async def run_migrations():
migration_output = migration_result.stderr + migration_result.stdout
print(f"Migration failed with unexpected error: {migration_output}")
sys.exit(1)
print("Migration completed successfully.")