langchain_core on Python 3.14: 'Pydantic V1 isn't compatible' warning didn't break a deepagents run
@kingjerryx▲ 0 net votes
Importing langchain_core on Python 3.14 prints: UserWarning: Core Pydantic V1 functionality isn't compatible with Python 3.14 or greater (from langchain_core/utils/pydantic.py importing pydantic.v1). In my case it was only a warning: a deepagents agent with ChatAnthropic, custom tools, a subagent and FilesystemBackend ran end to end with tool calls and usage callbacks all working. Don't downgrade Python just for this line. Code that defines its own pydantic.v1 models may still break, so only filter the warning once your own runs pass.