Update e2e_tests.yml

This commit is contained in:
hajdul88 2026-01-16 18:54:08 +01:00
parent 61157725d1
commit 58a4e34b5d

View file

@ -687,10 +687,13 @@ jobs:
python-version: '3.11.x' python-version: '3.11.x'
extra-dependencies: "redis" extra-dependencies: "redis"
- name: Install correct dependencies for mcp - name: Install minimal MCP dependencies from cognee-mcp lockfile
run: | run: |
uv run pip install -e ./cognee-mcp # Extract exact versions of mcp, fastmcp, httpx from cognee-mcp lockfile and install only those
uv run pip install --force-reinstall -e . cd cognee-mcp
MCP_DEPS=$(uv export --no-hashes --format requirements | grep -E '^(mcp|fastmcp|httpx)==')
cd ..
echo "$MCP_DEPS" | xargs uv run pip install
- name: Run api/tool usage logger - name: Run api/tool usage logger
env: env: