databrickslabs/dbx

Update to support Pydantic 2

Opened this issue · 2 comments

Expected Behavior

I can't update my application code to use Pydantic 2 because DBX is using Pydantic 1. AFAIK Pydantic 2 is backwards compatible if you're willing to update package import names.

Current Behavior

DBX failures happen when I update to Pydantic 2

Steps to Reproduce (for bugs)

Install DBX and Pydantic 2. Try to use DBX.

Context

I want to use Pydantic 2.1

Your Environment

  • dbx version used: 0.8.18 or earlier
  • Databricks Runtime version: irrelevant

Any update on this topic ?
Pydantic current version is 2.5.2...

Thanks for your time and consideration :)

We ultimately moved off of dbx. For some of our use cases, we just used the Databricks SDK directly and for others, we moved to Databricks asset bundles.