TheRacetrack / racetrack

An opinionated framework for deploying, managing, and serving application workloads
https://theracetrack.github.io/racetrack/
Apache License 2.0
28 stars 5 forks source link

Migrate pydantic to v2 #413

Closed iszulcdeepsense closed 4 months ago

iszulcdeepsense commented 5 months ago

Racetrack client has a restrictive requirement:

pydantic >= 1.10, < 2

That raises this error in some cases:

racetrack-client 2.24.0 requires pydantic<2,>=1.10, but you have pydantic 2.6.0 which is incompatible.

We should loosen this requirement, and adopt last stable version, which isn't anything brand new - v2.0 came out in June 2023