make falkordb dependency optional (#604)

This commit is contained in:
Preston Rasmussen 2025-06-18 16:47:09 -04:00 committed by GitHub
parent ed6183afe7
commit cc4541e496
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 12 additions and 10 deletions

18
poetry.lock generated
View file

@ -1,4 +1,4 @@
# This file is automatically @generated by Poetry 2.1.1 and should not be changed by hand.
# This file is automatically @generated by Poetry 2.1.2 and should not be changed by hand.
[[package]]
name = "aiohappyeyeballs"
@ -337,7 +337,7 @@ files = [
{file = "async_timeout-5.0.1-py3-none-any.whl", hash = "sha256:39e3809566ff85354557ec2398b55e096c8364bacac9405a7a1fa429e77fe76c"},
{file = "async_timeout-5.0.1.tar.gz", hash = "sha256:d9321a7a3d5a6a5e187e824d2fa0793ce379a202935782d555d6e9d2735677d3"},
]
markers = {main = "python_full_version < \"3.11.3\"", dev = "python_version < \"3.11\""}
markers = {main = "extra == \"falkord-db\" and python_full_version < \"3.11.3\"", dev = "python_version == \"3.10\""}
[[package]]
name = "attrs"
@ -759,7 +759,7 @@ description = "Backport of PEP 654 (exception groups)"
optional = false
python-versions = ">=3.7"
groups = ["main", "dev"]
markers = "python_version < \"3.11\""
markers = "python_version == \"3.10\""
files = [
{file = "exceptiongroup-1.2.2-py3-none-any.whl", hash = "sha256:3111b9d131c238bec2f8f516e123e14ba243563fb135d3fe885990585aa7795b"},
{file = "exceptiongroup-1.2.2.tar.gz", hash = "sha256:47c2edf7c6738fafb49fd34290706d1a1a2f4d1c6df275526b62cbb4aa5393cc"},
@ -802,9 +802,10 @@ tests = ["asttokens (>=2.1.0)", "coverage", "coverage-enable-subprocess", "ipyth
name = "falkordb"
version = "1.1.2"
description = "Python client for interacting with FalkorDB database"
optional = false
optional = true
python-versions = "<4.0,>=3.8"
groups = ["main"]
markers = "extra == \"falkord-db\""
files = [
{file = "falkordb-1.1.2.tar.gz", hash = "sha256:db76c97efe14a56c3d65c61b966a42b874e1c78a8fb6808de3f61f4314b04023"},
]
@ -2683,7 +2684,6 @@ description = "Fast, correct Python JSON library supporting dataclasses, datetim
optional = false
python-versions = ">=3.9"
groups = ["dev"]
markers = "platform_python_implementation != \"PyPy\""
files = [
{file = "orjson-3.10.16-cp310-cp310-macosx_10_15_x86_64.macosx_11_0_arm64.macosx_10_15_universal2.whl", hash = "sha256:4cb473b8e79154fa778fb56d2d73763d977be3dcc140587e07dbc545bbfc38f8"},
{file = "orjson-3.10.16-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:622a8e85eeec1948690409a19ca1c7d9fd8ff116f4861d261e6ae2094fe59a00"},
@ -3725,9 +3725,10 @@ cffi = {version = "*", markers = "implementation_name == \"pypy\""}
name = "redis"
version = "5.2.1"
description = "Python client for Redis database and key-value store"
optional = false
optional = true
python-versions = ">=3.8"
groups = ["main"]
markers = "extra == \"falkord-db\""
files = [
{file = "redis-5.2.1-py3-none-any.whl", hash = "sha256:ee7e1056b9aea0f04c6c2ed59452947f34c4940ee025f5dd83e6a6418b6989e4"},
{file = "redis-5.2.1.tar.gz", hash = "sha256:16f2e22dff21d5125e8481515e386711a34cbec50f0e44413dd7d9c060a54e0f"},
@ -4547,7 +4548,7 @@ description = "A lil' TOML parser"
optional = false
python-versions = ">=3.8"
groups = ["dev"]
markers = "python_version < \"3.11\""
markers = "python_version == \"3.10\""
files = [
{file = "tomli-2.2.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:678e4fa69e4575eb77d103de3df8a895e1591b48e740211bd1067378c69e8249"},
{file = "tomli-2.2.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:023aa114dd824ade0100497eb2318602af309e5a55595f76b626d6d9f3b7b0a6"},
@ -5399,10 +5400,11 @@ cffi = ["cffi (>=1.11)"]
[extras]
anthropic = ["anthropic"]
falkord-db = ["falkordb"]
google-genai = ["google-genai"]
groq = ["groq"]
[metadata]
lock-version = "2.1"
python-versions = ">=3.10,<4"
content-hash = "006424f120b3e9b306b630b7d4dee13c8ab628a74bdc2a831c83e5b546c171b1"
content-hash = "8c982c7bf747277950a77f92e72e5dd02651e4ceada87a9f096b798d0088e5ac"

View file

@ -1,7 +1,7 @@
[project]
name = "graphiti-core"
description = "A temporal graph building library"
version = "0.12.2"
version = "0.12.3"
authors = [
{ "name" = "Paul Paliychuk", "email" = "paul@getzep.com" },
{ "name" = "Preston Rasmussen", "email" = "preston@getzep.com" },
@ -19,7 +19,6 @@ dependencies = [
"tenacity>=9.0.0",
"numpy>=1.0.0",
"python-dotenv>=1.0.1",
"falkordb (>=1.1.2,<2.0.0)",
]
[project.urls]
@ -30,6 +29,7 @@ Repository = "https://github.com/getzep/graphiti"
anthropic = ["anthropic>=0.49.0"]
groq = ["groq>=0.2.0"]
google-genai = ["google-genai>=1.8.0"]
falkord-db = ["falkordb (>=1.1.2,<2.0.0)"]
[tool.poetry.group.dev.dependencies]
mypy = ">=1.11.1"