-
-
Notifications
You must be signed in to change notification settings - Fork 342
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 compatibility #445
Comments
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗 |
@minrk Thank you for taking the time to document this issue in writing! Yes, this is absolutely a high priority issue for us; we are aware that we are often forcing environments to resolve Pydantic to v1. We are wildly busy with a few other things at the moment, but plan to address this in the next couple of weeks. 👍 |
Arg, sorry for the dupe. Do not know how my search didn't turn up that issue. |
Description
Making sure it's tracked that jupyter-ai currently requires an outdated pydantic, preventing it from being used in up-to-date environments with other packages, e.g. fastapi.
#285 (comment) noted that upgrading langchain past 0.0.267 supports pydantic v2, but #375 which closed #285 pins down to outdated pydantic v1.
There do appear to be some updates required for pydantic v2 support, e.g.:
Reproduce
pip install jupyter-ai fastapi[all]
Expected behavior
up-to-date jupyter-ai is compatible with up-to-date versions of its dependencies, so it can work in an env with other packages that share those dependencies and are up-to-date.
Context
The text was updated successfully, but these errors were encountered: