pandas-ai
pandas-ai copied to clipboard
[FEATURE] Support Pydantic 2.0
🚀 The feature
pydantic v2 got released. However, pandasai has a pydantic<2.0 constraint: https://github.com/gventuri/pandas-ai/blob/f145da97855a099958b8a7edf2945dcb59c47bf2/pyproject.toml#L18
Motivation, pitch
I would like to be able to use pydantic v2. Can we build the support for pydantic v2?
Alternatives
No response
Additional context
No response
Pydantic 2 has been available for over 6 months. Is there a reason to fix the version to 1? Would it be OK to accept a PR to relax this restriction @gventuri ?
I second this. The latest versions of Gradio (https://github.com/gradio-app/gradio) require pydantic >= 2.0.