Replies: 1 comment 1 reply
-
I believe this constraint is removed from later versions of pymilvus! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi team 👋
I'm deploying a graph on LangGraph Cloud that uses pymilvus, but I'm encountering this runtime error:
This is coming from pymilvus, which relies on pkg_resources via:
Based on the logs, it looks like pkg_resources is missing because setuptools is stripped out as part of the final Docker image.
🔥 Traceback (excerpt):
🐳 Dockerfile command that removes pip and wheel:
This is the relevant part of the build output showing the removal step:
It seems setuptools is also not present at runtime (possibly removed earlier), which causes this error for packages that rely on pkg_resources.
❓Question:
Since I don’t have control over the final Dockerfile on LangGraph Cloud, is there any recommended way to:
Retain setuptools (or just pkg_resources) at runtime?
Work around this for libraries like pymilvus that depend on it?
If not, could you consider supporting a configuration option to preserve setuptools for cases like this?
Thanks for the awesome work on LangGraph — looking forward to any guidance you can provide! 🙏
Beta Was this translation helpful? Give feedback.
All reactions