Skip to content

Conversation

@shangyian
Copy link
Contributor

@shangyian shangyian commented Sep 25, 2025

Summary

We've needed to upgrade to Pydantic v2 for some time. It should be significantly faster than v1, although it is worth benchmarking to make sure. This migration blocks various things downstream, including setting up an MCP server for DJ.

Test Plan

  • PR has an associated issue:
  • make check passes
  • make test shows 100% unit test coverage

Deployment Plan

@netlify
Copy link

netlify bot commented Sep 25, 2025

Deploy Preview for thriving-cassata-78ae72 canceled.

Name Link
🔨 Latest commit f69d2b2
🔍 Latest deploy log https://app.netlify.com/projects/thriving-cassata-78ae72/deploys/68dc2164d77a010008f273b4

@shangyian shangyian mentioned this pull request Sep 25, 2025
3 tasks
@shangyian shangyian force-pushed the pydanticv2-upgrade branch 5 times, most recently from bc56e2f to a9ce05f Compare September 30, 2025 13:42
@shangyian shangyian changed the title Upgrade datajunction-server to pydantic v2 Switch DJ API to pydantic v2 Sep 30, 2025
@shangyian shangyian changed the title Switch DJ API to pydantic v2 Switch DJ API to Pydantic v2 Sep 30, 2025
@shangyian shangyian marked this pull request as ready for review September 30, 2025 19:48
@shangyian shangyian merged commit 77e8439 into DataJunction:main Oct 1, 2025
17 checks passed
@shangyian shangyian deleted the pydanticv2-upgrade branch October 1, 2025 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant