AcademySoftwareFoundation / rez

An integrated package configuration, build and deployment system for software
https://rez.readthedocs.io
Apache License 2.0
932 stars 329 forks source link

Modernize data validation #1674

Open BryceGattis opened 5 months ago

BryceGattis commented 5 months ago

We should consider switching to more modern data validation libraries such as "pydantic".

Motivation The schema library we are using is pretty outdated these days. We are using a very old version of schema that was released in 2014. We have a couple of complaints with the current system:

Related Conversations

https://github.com/AcademySoftwareFoundation/rez/pull/1662#issuecomment-1975197881

Note that if we use pydantic, we must use pydantic < 2.6, as 2.6 introduced a breaking change with Python 3.7 which is our lowest support Python version as of now.