* Bump graphiti-core to v0.23.1 in mcp_server and consolidate dev dependencies - Updated graphiti-core from 0.23.0 to 0.23.1 in pyproject.toml and dockerfiles - Moved all dev dependencies to [dependency-groups].dev (uv's preferred approach) - Removed redundant [project.optional-dependencies].dev section - Eliminated duplicate graphiti-core and mcp entries from dev dependencies 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * Fix dev dependencies being installed in Docker containers Added --no-group dev flag to uv sync in Dockerfiles. The --no-dev flag only excludes [project.optional-dependencies].dev, but doesn't exclude [dependency-groups].dev which we now use. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * Add --no-sync flag to uv run in Dockerfiles The uv run command was re-syncing dependencies at runtime and installing dev groups despite uv sync --no-group dev. Using --no-sync tells uv to use the already-synced dependencies without re-checking. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * Make sed pattern version-agnostic in Dockerfiles Changed hardcoded version pattern from >=0\.23\.1 to >=[0-9.]\+ so the Dockerfiles don't need to be updated every time graphiti-core version is bumped in pyproject.toml. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * Remove redundant --no-dev flag from uv sync Since we removed [project.optional-dependencies].dev, the --no-dev flag no longer has any effect. Only --no-group dev is needed to exclude dev dependency-groups. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * Use more precise semver regex in sed patterns Changed from [0-9.]\+ to [0-9]\+\.[0-9]\+\.[0-9]\+ to match proper semantic versions (e.g., 0.23.1) and avoid matching invalid patterns like .... or 1.2.3.4.5. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * Fix version inconsistencies and add regex end anchor - Updated MCP_SERVER_VERSION from 1.0.0rc0/1.0.0 to 1.0.1 to match pyproject.toml - Added $ end-of-line anchor to sed patterns to prevent matching partial strings 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com>
76 lines
1.4 KiB
TOML
76 lines
1.4 KiB
TOML
[project]
|
|
name = "mcp-server"
|
|
version = "1.0.1"
|
|
description = "Graphiti MCP Server"
|
|
readme = "README.md"
|
|
requires-python = ">=3.10,<4"
|
|
dependencies = [
|
|
"mcp>=1.9.4",
|
|
"openai>=1.91.0",
|
|
"graphiti-core[falkordb]>=0.23.1",
|
|
"pydantic-settings>=2.0.0",
|
|
"pyyaml>=6.0",
|
|
"typing-extensions>=4.0.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
azure = [
|
|
"azure-identity>=1.21.0",
|
|
]
|
|
providers = [
|
|
"google-genai>=1.8.0",
|
|
"anthropic>=0.49.0",
|
|
"groq>=0.2.0",
|
|
"voyageai>=0.2.3",
|
|
"sentence-transformers>=2.0.0",
|
|
]
|
|
|
|
[tool.pyright]
|
|
include = ["src", "tests"]
|
|
pythonVersion = "3.10"
|
|
typeCheckingMode = "basic"
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
|
|
[tool.ruff.lint]
|
|
select = [
|
|
# pycodestyle
|
|
"E",
|
|
# Pyflakes
|
|
"F",
|
|
# pyupgrade
|
|
"UP",
|
|
# flake8-bugbear
|
|
"B",
|
|
# flake8-simplify
|
|
"SIM",
|
|
# isort
|
|
"I",
|
|
]
|
|
ignore = ["E501"]
|
|
|
|
[tool.ruff.lint.flake8-tidy-imports.banned-api]
|
|
# Required by Pydantic on Python < 3.12
|
|
"typing.TypedDict".msg = "Use typing_extensions.TypedDict instead."
|
|
|
|
[tool.ruff.format]
|
|
quote-style = "single"
|
|
indent-style = "space"
|
|
docstring-code-format = true
|
|
|
|
[tool.uv.sources]
|
|
graphiti-core = { path = "../", editable = true }
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"faker>=37.12.0",
|
|
"httpx>=0.28.1",
|
|
"psutil>=7.1.2",
|
|
"pyright>=1.1.404",
|
|
"pytest>=8.0.0",
|
|
"pytest-asyncio>=0.21.0",
|
|
"pytest-timeout>=2.4.0",
|
|
"pytest-xdist>=3.8.0",
|
|
"ruff>=0.7.1",
|
|
]
|