Skip to content

Upgrade to Pydantic v2 with minimal code changes#888

Open
jdoiro3 wants to merge 1 commit intodatabrickslabs:mainfrom
jdoiro3:feature/use-pydantic-v2
Open

Upgrade to Pydantic v2 with minimal code changes#888
jdoiro3 wants to merge 1 commit intodatabrickslabs:mainfrom
jdoiro3:feature/use-pydantic-v2

Conversation

@jdoiro3
Copy link

@jdoiro3 jdoiro3 commented Feb 14, 2026

Note

I know this project isn't maintained anymore and understand this probably will never merge.

Proposed changes

Bump Pydantic to >=2.0.0 since it ships with v1. All you have to do is change from pydantic to from pedantic.v1.

Types of changes

These changes should not have any impact on dbx and is more about letting users of dbx to migrate from pydantic v1 to v2.

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update (if none of the other choices apply)

Further comments

If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...

@jdoiro3 jdoiro3 marked this pull request as ready for review February 15, 2026 20:32
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