Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pydantic V2 support #228

Closed
Apaezmx opened this issue Feb 16, 2024 · 9 comments
Closed

Pydantic V2 support #228

Apaezmx opened this issue Feb 16, 2024 · 9 comments

Comments

@Apaezmx
Copy link

Apaezmx commented Feb 16, 2024

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
Copy link
Author

Apaezmx commented Feb 16, 2024

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
Copy link

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

@josegaleote
Copy link

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

@josegaleote
Copy link

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

@filopacio
Copy link

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

@AzulGarza
Copy link
Member

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

@jmoralez
Copy link
Member

Fixed by #308

@josegaleote
Copy link

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

@jmoralez
Copy link
Member

jmoralez commented May 8, 2024

It's the fixed already released?

Yes, since 0.5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants