Skip to content

Dependency conflict: langgraph-swarm not compatible with langgraph>=1.0.0 #106

@aamernabi

Description

@aamernabi

When resolving dependencies with the latest versions of langgraph and langgraph-swarm, uv fails to find a compatible set due to version constraints.

Error:

× No solution found when resolving dependencies for split (python_full_version >= '3.14'):
  ╰─▶ Because only langgraph-swarm<=0.0.14 is available and langgraph-swarm==0.0.14 depends on langgraph>=0.6.0,<0.7.0, we can conclude that langgraph-swarm>=0.0.14 depends on
      langgraph>=0.6.0,<0.7.0.
      And because your project depends on langgraph>=1.0.1 and langgraph-swarm>=0.0.14, we can conclude that your project's requirements are unsatisfiable.

      hint: While the active Python version is 3.13, the resolution failed for other Python versions supported by your project. Consider limiting your project's supported Python versions
      using `requires-python`.

Environment:

  • Python: 3.13
  • Dependency manager: uv
  • OS: Linux
  • pyproject.toml
..
requires-python = ">=3.13"
dependencies = [
  "langchain>=1.0.2",
  "langchain-google-genai>=3.0.0",
  "langgraph>=1.0.1",
  "langchain-mcp-adapters>=0.1.11",
  "langgraph-swarm>=0.0.14",
]

Expected behavior:
langgraph-swarm should support the latest stable langgraph releases (≥1.0.0).

Actual behavior:
Dependency resolution fails because langgraph-swarm restricts langgraph to <0.7.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions