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

Jupyter-ai with Pydantic v2 not work? #390

Closed
PenChien opened this issue Sep 14, 2023 · 3 comments · Fixed by #466
Closed

Jupyter-ai with Pydantic v2 not work? #390

PenChien opened this issue Sep 14, 2023 · 3 comments · Fixed by #466
Labels
bug Something isn't working

Comments

@PenChien
Copy link

Hi,

I need to use Pydantic V2 with Jupyter, but it seems that Jupyter AI only works with Pydantic V1.
Is there any suggestions for making Jupyter AI work with Pydantic V2?

Thanks,
Pen

@PenChien PenChien added the bug Something isn't working label Sep 14, 2023
@welcome
Copy link

welcome bot commented Sep 14, 2023

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

@piiq
Copy link

piiq commented Oct 6, 2023

The upgrade of pydantic to v2 would be a very nice

@sorech
Copy link

sorech commented Oct 26, 2023

Adding my voice to this. please upgrade pydantic.
Right now we have
jupyter-ai 2.4.0 requires pydantic~=1.0
copier 8.3.0 requires pydantic>=2.0.3 // used to develop extensions for jupiterLab 4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants