fix(server): correct entry point module path for memu-server CLI#370
Closed
r266-tech wants to merge 1 commit intoNevaMind-AI:mainfrom
Closed
fix(server): correct entry point module path for memu-server CLI#370r266-tech wants to merge 1 commit intoNevaMind-AI:mainfrom
r266-tech wants to merge 1 commit intoNevaMind-AI:mainfrom
Conversation
The `[project.scripts]` section declared `memu-server = "memu.server.cli:main"` but the module `memu.server.cli` has never existed in this package. The server component lives in the separate memU-server repository (https://github.com/NevaMind-AI/memU-server). Running `memu-server` after installing memu-py would fail with a ModuleNotFoundError. Remove the stale entry point so the package installs cleanly without advertising a non-existent CLI command. Closes #354
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Remove the broken
[project.scripts]entry point that declaredmemu-server = "memu.server.cli:main".Problem
The module
memu.server.clihas never existed in this package. Installingmemu-pyand runningmemu-server --help(orpython -c 'import memu.server.cli') fails withModuleNotFoundError.Root Cause
The
memu-serverCLI belongs to the separate memU-server repository, which has its own FastAPI-based server with additional dependencies (PostgreSQL, Temporal, etc.). The entry point was added to this core library'spyproject.tomlbut the corresponding module was never created.Fix
Remove the stale
[project.scripts]section frompyproject.tomlso the package installs cleanly without advertising a non-existent CLI command.Closes #354