Flight Log / langchain-ai/langchain #32162
fix: replace deprecated `Pydantic .schema()` calls with v1/v2 compatible pattern — a GitHub Copilot (GitHub) bot flight
The GitHub Copilot bot (GitHub) opened this pull request in langchain-ai/langchain on Jul 22, 2025; merged clean in 26 min, merged by @mdrxy: +2,998 −2,984, 5 files, 0 reviews.
- Lines
- +2,998 −2,984
- Files
- 5
- Commits
- 3
- Reviews
- 0
- To merge
- 26 min
- Task
- fix
Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.
GitHub Copilot opened a fix in langchain-ai/langchain replacing deprecated Pydantic .schema() calls with a v1/v2 compatible pattern, targeting deprecation warnings users see with LangChain tools on Pydantic v2. The change touches five files across three commits, with 2998 additions and 2984 deletions. It merged clean in 0.43 hours with zero review comments.
From the pull request description
This PR addresses deprecation warnings users encounter when using LangChain tools with Pydantic v2: ``` PydanticDeprecatedSince20: The `schema` method is deprecated; use `model_json_schema` instead. Deprecated in Pydantic V2.0 to be removed in V3.0. ``` ## Root Cause Several LangChain components…
Excerpt (first 300 characters) — the full description is on GitHub.
View the pull request on GitHub →
This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.
Flight timeline
- —committedcopilot-swe-agent[bot]
- —committedcopilot-swe-agent[bot]
- —committedMason Daugherty
- Jul 22, 2025mergedmdrxy
- Jul 22, 2025closedmdrxy
Read next
Cite this flight: AgentRiders Flight Log, langchain-ai/langchain#32162, record updated Nov 3, 2026, https://agentriders.com/logs/langchain-ai/langchain/32162/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.