-
Notifications
You must be signed in to change notification settings - Fork 469
Open
Labels
Description
Tracer Version(s)
3.19..0, 3.18.0, 3.17.0, 3.16.0
Python Version(s)
3.11.10
Pip Version(s)
pip 25.3
Bug Report
This was tested with langgraph 1.0.4, 1.0.3, 1.0.2, and even lower versions.
None of PyTorch, TensorFlow >= 2.0, or Flax have been found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "/Users/jsandoval/workspace/canary/backend/canary/.venv/lib/python3.11/site-packages/wrapt/importer.py", line 184, in _self_exec_module
self.__wrapped__.exec_module(module)
File "/Users/jsandoval/workspace/.venv/lib/python3.11/site-packages/langgraph/graph/__init__.py", line 2, in <module>
from langgraph.graph.message import MessageGraph, MessagesState, add_messages
File "/Users/jsandoval/workspace/.venv/lib/python3.11/site-packages/langgraph/graph/message.py", line 28, in <module>
from langgraph.graph.state import StateGraph
File "/Users/jsandoval/workspace/.venv/lib/python3.11/site-packages/langgraph/graph/state.py", line 27, in <module>
from langgraph.cache.base import BaseCache
File "/Users/jsandoval/workspace/venv/lib/python3.11/site-packages/langgraph/cache/base/__init__.py", line 8, in <module>
from langgraph.checkpoint.serde.jsonplus import JsonPlusSerializer
File "/Users/jsandoval/workspace/venv/lib/python3.11/site-packages/langgraph/checkpoint/serde/jsonplus.py", line 34, in <module>
from langgraph.store.base import Item
File "/Users/jsandoval/workspace/.venv/lib/python3.11/site-packages/langgraph/store/base/__init__.py", line 29, in <module>
from langgraph.store.base.embed import (
File "/Users/jsandoval/workspace/.venv/lib/python3.11/site-packages/langgraph/store/base/embed.py", line 105, in <module>
class EmbeddingsLambda(Embeddings):
File "<frozen abc>", line 106, in __new__
TypeError: missing 1 required positional argument
Reproduction Code
DD_TRACE_ENABLED=true ddtrace-run python -c "from langgraph.graph import StateGraph; print('OK')"
Error Logs
No response
Libraries in Use
- ddtrace: 3.19.0 (also fails on 3.16.2, 3.18.1)
- Python: 3.11
- langgraph: 1.0.4
- langchain-core: 1.0.7
Operating System
Darwin 25.1.0