graphiti/pyproject.toml
Lars Varming 63f9989b37 Create graphiti-core-varming package + update mcp_server dependency
This commit implements proper architecture for maintaining the database fix:

1. Created graphiti-core-varming package (v0.23.1-varming.1)
   - Fork of graphiti-core 0.23.0 with database parameter fix
   - Published as separate package to PyPI
   - Maintains clean separation from upstream
   - Package name: graphiti-core-varming
   - Author: Lars Varming <lars.varming@gmail.com>

2. Updated mcp_server to depend on graphiti-core-varming
   - Changed all graphiti-core dependencies to graphiti-core-varming
   - Version: >=0.23.1-varming.1
   - Updated in: dependencies, falkordb extra, all extra, dev extra
   - Updated local development override comment

3. Created GitHub workflow for graphiti-core-varming
   - Workflow: .github/workflows/publish-graphiti-core-varming.yml
   - Triggers on tags: core-v*.*.*-varming.*
   - Also supports manual workflow_dispatch
   - Publishes to PyPI using UV_PUBLISH_TOKEN

Benefits:
- Clean separation between core fix and MCP server
- Easy to contribute fix back to upstream
- Independent versioning
- Proper package management
- No bundling or hacks

Files Modified:
- pyproject.toml (root - graphiti-core-varming package definition)
- mcp_server/pyproject.toml (dependency update)
- .github/workflows/publish-graphiti-core-varming.yml (new)

Next Steps:
1. Manually trigger publish-graphiti-core-varming workflow
2. Wait for graphiti-core-varming to be available on PyPI
3. Update mcp_server to v1.0.6
4. Publish mcp_server with tag mcp-v1.0.6

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-10 11:44:51 +01:00

103 lines
2.5 KiB
TOML

[project]
name = "graphiti-core-varming"
description = "A temporal graph building library (Varming fork with database parameter fix)"
version = "0.23.1-varming.1"
authors = [
{ name = "Paul Paliychuk", email = "paul@getzep.com" },
{ name = "Preston Rasmussen", email = "preston@getzep.com" },
{ name = "Daniel Chalef", email = "daniel@getzep.com" },
{ name = "Lars Varming", email = "lars.varming@gmail.com" },
]
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.10,<4"
dependencies = [
"pydantic>=2.11.5",
"neo4j>=5.26.0",
"diskcache>=5.6.3",
"openai>=1.91.0",
"tenacity>=9.0.0",
"numpy>=1.0.0",
"python-dotenv>=1.0.1",
"posthog>=3.0.0"
]
[project.urls]
Homepage = "https://github.com/Varming73/graphiti"
Repository = "https://github.com/Varming73/graphiti"
Upstream = "https://github.com/getzep/graphiti"
[project.optional-dependencies]
anthropic = ["anthropic>=0.49.0"]
groq = ["groq>=0.2.0"]
google-genai = ["google-genai>=1.8.0"]
kuzu = ["kuzu>=0.11.3"]
falkordb = ["falkordb>=1.1.2,<2.0.0"]
voyageai = ["voyageai>=0.2.3"]
neo4j-opensearch = ["boto3>=1.39.16", "opensearch-py>=3.0.0"]
sentence-transformers = ["sentence-transformers>=3.2.1"]
neptune = ["langchain-aws>=0.2.29", "opensearch-py>=3.0.0", "boto3>=1.39.16"]
tracing = ["opentelemetry-api>=1.20.0", "opentelemetry-sdk>=1.20.0"]
dev = [
"pyright>=1.1.404",
"groq>=0.2.0",
"anthropic>=0.49.0",
"google-genai>=1.8.0",
"falkordb>=1.1.2,<2.0.0",
"kuzu>=0.11.3",
"boto3>=1.39.16",
"opensearch-py>=3.0.0",
"langchain-aws>=0.2.29",
"ipykernel>=6.29.5",
"jupyterlab>=4.2.4",
"diskcache-stubs>=5.6.3.6.20240818",
"langgraph>=0.2.15",
"langchain-anthropic>=0.2.4",
"langsmith>=0.1.108",
"langchain-openai>=0.2.6",
"sentence-transformers>=3.2.1",
"transformers>=4.45.2",
"voyageai>=0.2.3",
"pytest>=8.3.3",
"pytest-asyncio>=0.24.0",
"pytest-xdist>=3.6.1",
"ruff>=0.7.1",
"opentelemetry-sdk>=1.20.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.pytest.ini_options]
pythonpath = ["."]
[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.format]
quote-style = "single"
indent-style = "space"
docstring-code-format = true
[tool.pyright]
include = ["graphiti_core"]
pythonVersion = "3.10"
typeCheckingMode = "basic"