Langgraph 0.3 causing issues with Langgraph cli & api #483

Closed
opened 2026-02-20 17:40:20 -05:00 by yindo · 9 comments
Owner

Originally created by @pixelcatgg on GitHub (Feb 27, 2025).

Checked other resources

  • This is a bug, not a usage question. For questions, please use GitHub Discussions.
  • I added a clear and detailed title that summarizes the issue.
  • I read what a minimal reproducible example is (https://stackoverflow.com/help/minimal-reproducible-example).
  • I included a self-contained, minimal example that demonstrates the issue INCLUDING all the relevant imports. The code run AS IS to reproduce the issue.

Example Code

poetry add "langgraph-cli[inmem]

Error Message and Stack Trace (if applicable)

[tool.poetry.dependencies]
python = ">=3.11.0,<4.0"
langgraph = ">=0.3.0,<0.4.0"

Description

when running poetry add "langgraph-cli[inmem]"

poetry add "langgraph-cli[inmem]"
Using version ^0.1.73 for langgraph-cli

Updating dependencies
Resolving dependencies... (0.3s)

Because no versions of langgraph-cli match >0.1.73,<0.2.0
 and langgraph-cli[inmem] (0.1.73) depends on langgraph-api (>=0.0.26,<0.1.0), langgraph-cli[inmem] (>=0.1.73,<0.2.0) requires langgraph-api (>=0.0.26,<0.1.0).
Because langgraph-api (0.0.26) depends on langgraph (>=0.2.56,<0.3.0)
 and no versions of langgraph-api match >0.0.26,<0.1.0, langgraph-api (>=0.0.26,<0.1.0) requires langgraph (>=0.2.56,<0.3.0).
Thus, langgraph-cli[inmem] (>=0.1.73,<0.2.0) requires langgraph (>=0.2.56,<0.3.0).
So, because maestro-agent depends on both langgraph (>=0.3.0,<0.4.0) and langgraph-cli[inmem] (^0.1.73), version solving failed.

and when trying to add just langgraph-api

poetry add langgraph-api
Using version ^0.0.26 for langgraph-api

Updating dependencies
Resolving dependencies... (0.0s)

Because no versions of langgraph-api match >0.0.26,<0.0.27
 and langgraph-api (0.0.26) depends on langgraph (>=0.2.56,<0.3.0), langgraph-api (>=0.0.26,<0.0.27) requires langgraph (>=0.2.56,<0.3.0).
So, because maestro-agent depends on both langgraph (>=0.3.0,<0.4.0) and langgraph-api (^0.0.26), version solving failed.

System Info

MacOS

Originally created by @pixelcatgg on GitHub (Feb 27, 2025). ### Checked other resources - [x] This is a bug, not a usage question. For questions, please use GitHub Discussions. - [x] I added a clear and detailed title that summarizes the issue. - [x] I read what a minimal reproducible example is (https://stackoverflow.com/help/minimal-reproducible-example). - [x] I included a self-contained, minimal example that demonstrates the issue INCLUDING all the relevant imports. The code run AS IS to reproduce the issue. ### Example Code ```python poetry add "langgraph-cli[inmem] ``` ### Error Message and Stack Trace (if applicable) ```shell [tool.poetry.dependencies] python = ">=3.11.0,<4.0" langgraph = ">=0.3.0,<0.4.0" ``` ### Description when running `poetry add "langgraph-cli[inmem]"` ``` poetry add "langgraph-cli[inmem]" Using version ^0.1.73 for langgraph-cli Updating dependencies Resolving dependencies... (0.3s) Because no versions of langgraph-cli match >0.1.73,<0.2.0 and langgraph-cli[inmem] (0.1.73) depends on langgraph-api (>=0.0.26,<0.1.0), langgraph-cli[inmem] (>=0.1.73,<0.2.0) requires langgraph-api (>=0.0.26,<0.1.0). Because langgraph-api (0.0.26) depends on langgraph (>=0.2.56,<0.3.0) and no versions of langgraph-api match >0.0.26,<0.1.0, langgraph-api (>=0.0.26,<0.1.0) requires langgraph (>=0.2.56,<0.3.0). Thus, langgraph-cli[inmem] (>=0.1.73,<0.2.0) requires langgraph (>=0.2.56,<0.3.0). So, because maestro-agent depends on both langgraph (>=0.3.0,<0.4.0) and langgraph-cli[inmem] (^0.1.73), version solving failed. ``` and when trying to add just langgraph-api ``` poetry add langgraph-api Using version ^0.0.26 for langgraph-api Updating dependencies Resolving dependencies... (0.0s) Because no versions of langgraph-api match >0.0.26,<0.0.27 and langgraph-api (0.0.26) depends on langgraph (>=0.2.56,<0.3.0), langgraph-api (>=0.0.26,<0.0.27) requires langgraph (>=0.2.56,<0.3.0). So, because maestro-agent depends on both langgraph (>=0.3.0,<0.4.0) and langgraph-api (^0.0.26), version solving failed. ``` ### System Info MacOS
yindo closed this issue 2026-02-20 17:40:20 -05:00
Author
Owner

@hinthornw commented on GitHub (Feb 27, 2025):

langgraph-api should not be a project dependency. It should be a dev dependency.

@hinthornw commented on GitHub (Feb 27, 2025): langgraph-api should not be a project dependency. It should be a dev dependency.
Author
Owner

@pixelcatgg commented on GitHub (Feb 27, 2025):

@hinthornw langgraph-api is added with langgraph-cli which is needed to run the dev server of langgraph

poetry run langgraph dev
Usage: langgraph dev [OPTIONS]
Try 'langgraph dev --help' for help.

Error: Required package 'langgraph-api' is not installed.
Please install it with:

    pip install -U "langgraph-cli[inmem]"
@pixelcatgg commented on GitHub (Feb 27, 2025): @hinthornw langgraph-api is added with langgraph-cli which is needed to run the dev server of langgraph ``` poetry run langgraph dev Usage: langgraph dev [OPTIONS] Try 'langgraph dev --help' for help. Error: Required package 'langgraph-api' is not installed. Please install it with: pip install -U "langgraph-cli[inmem]" ```
Author
Owner

@pixelcatgg commented on GitHub (Feb 27, 2025):

same issue as just trying to install as dev dependency, i know the 0.3 release is like 3 hours old so maybe the dependencies of api and cli haven't been updated?

poetry add --group dev "langgraph-cli[inmem]"
Using version ^0.1.73 for langgraph-cli

Updating dependencies
Resolving dependencies... (0.3s)

Because no versions of langgraph-cli match >0.1.73,<0.2.0
 and langgraph-cli[inmem] (0.1.73) depends on langgraph-api (>=0.0.26,<0.1.0), langgraph-cli[inmem] (>=0.1.73,<0.2.0) requires langgraph-api (>=0.0.26,<0.1.0).
Because langgraph-api (0.0.26) depends on langgraph (>=0.2.56,<0.3.0)
 and no versions of langgraph-api match >0.0.26,<0.1.0, langgraph-api (>=0.0.26,<0.1.0) requires langgraph (>=0.2.56,<0.3.0).
Thus, langgraph-cli[inmem] (>=0.1.73,<0.2.0) requires langgraph (>=0.2.56,<0.3.0).
So, because maestro-agent depends on both langgraph (>=0.3.0,<0.4.0) and langgraph-cli[inmem] (^0.1.73), version solving failed.
@pixelcatgg commented on GitHub (Feb 27, 2025): same issue as just trying to install as dev dependency, i know the 0.3 release is like 3 hours old so maybe the dependencies of api and cli haven't been updated? ``` poetry add --group dev "langgraph-cli[inmem]" Using version ^0.1.73 for langgraph-cli Updating dependencies Resolving dependencies... (0.3s) Because no versions of langgraph-cli match >0.1.73,<0.2.0 and langgraph-cli[inmem] (0.1.73) depends on langgraph-api (>=0.0.26,<0.1.0), langgraph-cli[inmem] (>=0.1.73,<0.2.0) requires langgraph-api (>=0.0.26,<0.1.0). Because langgraph-api (0.0.26) depends on langgraph (>=0.2.56,<0.3.0) and no versions of langgraph-api match >0.0.26,<0.1.0, langgraph-api (>=0.0.26,<0.1.0) requires langgraph (>=0.2.56,<0.3.0). Thus, langgraph-cli[inmem] (>=0.1.73,<0.2.0) requires langgraph (>=0.2.56,<0.3.0). So, because maestro-agent depends on both langgraph (>=0.3.0,<0.4.0) and langgraph-cli[inmem] (^0.1.73), version solving failed. ```
Author
Owner

@vbarda commented on GitHub (Feb 27, 2025):

We're updating, apologies for inconvenience. Will post here when released

@vbarda commented on GitHub (Feb 27, 2025): We're updating, apologies for inconvenience. Will post here when released
Author
Owner

@pixelcatgg commented on GitHub (Feb 27, 2025):

ty @vbarda you the 🐐

@pixelcatgg commented on GitHub (Feb 27, 2025): ty @vbarda you the 🐐
Author
Owner

@vbarda commented on GitHub (Feb 27, 2025):

@pixelcatgg please update to langgraph-api to 0.0.27, should be fixed

@vbarda commented on GitHub (Feb 27, 2025): @pixelcatgg please update to `langgraph-api` to 0.0.27, should be fixed
Author
Owner

@vbarda commented on GitHub (Feb 27, 2025):

langgraph-cli has been released as well (0.1.74). closing this one but feel free top reopen/open a new issue if you're still running into problems

@vbarda commented on GitHub (Feb 27, 2025): `langgraph-cli` has been released as well (0.1.74). closing this one but feel free top reopen/open a new issue if you're still running into problems
Author
Owner

@hinthornw commented on GitHub (Feb 27, 2025):

Thanks for your patience!

@hinthornw commented on GitHub (Feb 27, 2025): Thanks for your patience!
Author
Owner

@pixelcatgg commented on GitHub (Feb 27, 2025):

can confirm it solved the issue thanks team!

@pixelcatgg commented on GitHub (Feb 27, 2025): can confirm it solved the issue thanks team!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraph#483