Skip to content

Commit

Permalink
Remove grandalf from dev deps
Browse files Browse the repository at this point in the history
- this was never included in published package, given it's a dev dep, but some people get confused, so easier to remove
  • Loading branch information
nfcampos committed Sep 13, 2024
1 parent e87d3ad commit 4cd9540
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 41 deletions.
35 changes: 2 additions & 33 deletions libs/langgraph/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions libs/langgraph/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ python = ">=3.9.0,<4.0"
langchain-core = ">=0.2.39,<0.4"
langgraph-checkpoint = "^1.0.2"


[tool.poetry.group.dev.dependencies]
pytest = "^8.3.2"
pytest-cov = "^4.0.0"
Expand All @@ -21,7 +20,6 @@ pytest-mock = "^3.10.0"
syrupy = "^4.0.2"
httpx = "^0.26.0"
pytest-watcher = "^0.4.1"
grandalf = "^0.8"
mypy = "^1.6.0"
ruff = "^0.6.2"
jupyter = "^1.0.0"
Expand Down Expand Up @@ -53,7 +51,6 @@ docstring-code-line-length = "dynamic"
[tool.mypy]
ignore_missing_imports = "True"
disallow_untyped_defs = "True"
exclude = ["notebooks", "examples", "example_data"]

[tool.coverage.run]
omit = ["tests/*"]
Expand Down
5 changes: 0 additions & 5 deletions libs/langgraph/tests/test_pregel_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -6213,8 +6213,6 @@ async def qa(data: State) -> State:

app = workflow.compile()

assert app.get_graph().draw_ascii() == snapshot

assert await app.ainvoke({"query": "what is weather in sf"}, debug=True) == {
"query": "analyzed: query: what is weather in sf",
"docs": ["doc1", "doc2", "doc3", "doc4"],
Expand Down Expand Up @@ -6352,8 +6350,6 @@ async def decider(data: State) -> str:

app = workflow.compile()

assert app.get_graph().draw_ascii() == snapshot

async with assert_ctx_once():
with pytest.raises(ValidationError):
await app.ainvoke({"query": {}})
Expand Down Expand Up @@ -6873,7 +6869,6 @@ async def side(state: State):

app = graph.compile()

assert app.get_graph().draw_ascii() == snapshot
assert await app.ainvoke({"my_key": "my value", "never_called": never_called}) == {
"my_key": "my value there and back again",
"never_called": never_called,
Expand Down

0 comments on commit 4cd9540

Please sign in to comment.