Skip to content

fix: make lazyllm an optional dependency (fixes #373)#402

Open
octo-patch wants to merge 1 commit intoNevaMind-AI:mainfrom
octo-patch:fix/issue-373-make-lazyllm-optional-dependency
Open

fix: make lazyllm an optional dependency (fixes #373)#402
octo-patch wants to merge 1 commit intoNevaMind-AI:mainfrom
octo-patch:fix/issue-373-make-lazyllm-optional-dependency

Conversation

@octo-patch
Copy link
Copy Markdown

Fixes #373
Fixes #374

Problem

pip install memu-py fails with:

ERROR: Could not find a version that satisfies the requirement lazyllm>=0.7.3

lazyllm>=0.7.3 was listed as a required core dependency, but lazyllm 0.7.3+ is not available on PyPI (only 0.6.3 and below are published), causing all installations to fail.

Solution

Move lazyllm from dependencies to [project.optional-dependencies] under a new lazyllm extra. The LazyLLM backend is only used when client_backend is explicitly set to "lazyllm_backend" — it is not part of the default workflow.

Users who need the LazyLLM backend can install it with:

pip install memu-py[lazyllm]

Testing

After this change, pip install memu-py (or pip install -e .) completes successfully without requiring lazyllm to be present on PyPI.

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]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Installation failed: lazyllm>=0.7.3 not found on PyPI Installation failed: lazyllm>=0.7.3 not found on PyPI

1 participant