Nixtla / nixtla

TimeGPT-1: production ready pre-trained Time Series Foundation Model for forecasting and anomaly detection. Generative pretrained transformer for time series trained on over 100B data points. It's capable of accurately predicting various domains such as retail, electricity, finance, and IoT with just a few lines of code 🚀.
https://docs.nixtla.io
Other
1.91k stars 151 forks source link

Pydantic V2 support #228

Closed Apaezmx closed 2 months ago

Apaezmx commented 4 months ago

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 commented 4 months ago

Steps to reproduce:

pip install nixtlats

pip install --upgrade pydantic
from nixtlats import timegpt

Breaks because nixtlats is not compatible with pydantic v2

ricardpique-aily commented 3 months ago

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

josegaleote commented 3 months ago

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

josegaleote commented 3 months ago

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

filopacio commented 3 months ago

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

AzulGarza commented 2 months ago

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

jmoralez commented 2 months ago

Fixed by #308

josegaleote commented 2 months ago

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

jmoralez commented 1 month ago

It's the fixed already released?

Yes, since 0.5.0