databrickslabs / dbx

🧱 Databricks CLI eXtensions - aka dbx is a CLI tool for development and advanced Databricks workflows management.
https://dbx.readthedocs.io
Other
439 stars 120 forks source link

Update to support Pydantic 2 #824

Open hopper-signifyd opened 1 year ago

hopper-signifyd commented 1 year ago

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

guilgautier commented 10 months ago

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

Thanks for your time and consideration :)

hopper-signifyd commented 10 months ago

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.