Project-MONAI/MONAILabel

Can we upgrade the version of pydantic to allow ver >2.0?

Opened this issue · 1 comments

Describe the bug

Latest pytorch container (23.12) uses 2.5.2, and however, we restrict the version to be lower than 2.

pydantic>=1.10.7,<2.0.0

Hi Mingxin, is this good, the pydantic 2.5.2, 2.5.3 works well and no exceptions in auto unit tests.
#1617