LangChain VoyageAI Dependency Conflict

Hi! I’m using the latest versions of:- langchain

  • langchain_aws
  • langchain_community
  • langchain_deepseek
  • langchain_xai
  • langgraph
  1. But `langchain-voyageai` (latest) still requires `langchain<1.0.0`, which conflicts because langchain is now ≥1.0.0. How can I resolve this?

@hanson.loo Is this still happening, because I just verified langchain-voyageai/libs/voyageai/pyproject.toml at main · voyage-ai/langchain-voyageai · GitHub that langchain-voyageai is only dependent on “langchain-core>=1.0.0”

This issue should be fixed in the latest version I believe.

langchain-voyageai now depends on:

langchain-core >= 1.0.0

—not langchain < 1.0.0 anymore.

If you’re still seeing the conflict, you likely have:

  • An older version installed

  • A pinned version in requirements.txt

  • A dependency pulling an older release

Run:

pip install -U langchain langchain-core langchain-voyageai

If it still fails, it’s an environment version conflict — not a current package limitation.