nixtla icon indicating copy to clipboard operation
nixtla copied to clipboard

Pydantic V2 support

Open Apaezmx opened this issue 4 months ago • 1 comments

Pydantic v2 is a breaking change wrt pydantic v1. Nixtlats uses pydantic v1 and so is incompatible with tools built with pydantic v2. Could you add support for Pydantic v2?

Apaezmx avatar Feb 16 '24 15:02 Apaezmx

Steps to reproduce:

pip install nixtlats

pip install --upgrade pydantic
from nixtlats import timegpt

Breaks because nixtlats is not compatible with pydantic v2

Apaezmx avatar Feb 16 '24 16:02 Apaezmx

Do we know if nixtlats will be pydantic v2 compatible in the near future?

ricardpique-aily avatar Mar 27 '24 15:03 ricardpique-aily

Following up this for a while, is there any updates on the compatibility with pydantic v2? Thanks!

josegaleote avatar Apr 02 '24 08:04 josegaleote

Hello, do you have an estimation on when nixtlats will be compatible with pydantic > 2.0.0 ?

josegaleote avatar Apr 03 '24 15:04 josegaleote

Encountering same issue. Is there any expectation for nixtlats to align with Pydantic v2 compatibility anytime soon? Thanks!!

filopacio avatar Apr 03 '24 15:04 filopacio

we are taking a look at this and should be ready in the next days🎉

AzulGarza avatar Apr 15 '24 22:04 AzulGarza

Fixed by #308

jmoralez avatar Apr 26 '24 00:04 jmoralez

Great, thank you so much! It's the fixed already released?

josegaleote avatar May 08 '24 07:05 josegaleote

It's the fixed already released?

Yes, since 0.5.0

jmoralez avatar May 08 '24 16:05 jmoralez