From 36b1b493d7c098daa017bdd03b09f906dd4b3ace Mon Sep 17 00:00:00 2001 From: octo-patch Date: Thu, 9 Apr 2026 09:20:30 +0800 Subject: [PATCH] fix: make lazyllm an optional dependency (fixes #373) lazyllm is only used when client_backend is set to lazyllm_backend, not in the default configuration. Requiring it unconditionally caused pip install memu-py to fail because lazyllm>=0.7.3 is not available on PyPI. Move lazyllm to optional-dependencies under the [lazyllm] extra so users who need the LazyLLM backend can install it with: pip install memu-py[lazyllm] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 82574482..7ffd1dd9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,7 +27,6 @@ dependencies = [ "alembic>=1.14.0", "pendulum>=3.1.0", "langchain-core>=1.2.7", - "lazyllm>=0.7.3", ] [build-system] @@ -70,6 +69,7 @@ test = [ postgres = ["pgvector>=0.3.4", "sqlalchemy[postgresql-psycopgbinary]>=2.0.36"] langgraph = ["langgraph>=0.0.10", "langchain-core>=0.1.0"] claude = ["claude-agent-sdk>=0.1.24"] +lazyllm = ["lazyllm>=0.7.3"] [project.urls] "Homepage" = "https://github.com/NevaMind-AI/MemU"