You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
xeus-python-demo uses the latest pydantic, which is now v2.0. This appears to create an error in the build of the demo.
/home/runner/micromamba-root/envs/build-env/lib/python3.11/site-packages/jupyterlite_core/addons/__init__.py:69: UserWarning: [lite] [jupyterlite-xeus-python] failed to load: To define root models, use `pydantic.RootModel` rather than a field called '__root__'
While template will build and deploy (despite this error), the environment.yml's package (ipycanvas) is not available in the jupyterlite-xeus-python kernel (after launching the jupyterlite)
Pinning pydantic to <2.0 in the build-environment.yml will allow the demo to build and deploy properly.
Reproduce
Use to template to create a new demo.
Add page to github actions
Context
Browser and version: Chrome Version 114.0.5735.84
The text was updated successfully, but these errors were encountered:
We have replaced the use of the root field to specify a "custom root model" with a new type called RootModel which is intended to replace the functionality of using a field called root in Pydantic V1.
Description
xeus-python-demo uses the latest pydantic, which is now v2.0. This appears to create an error in the build of the demo.
While template will build and deploy (despite this error), the environment.yml's package (ipycanvas) is not available in the jupyterlite-xeus-python kernel (after launching the jupyterlite)
Pinning pydantic to <2.0 in the build-environment.yml will allow the demo to build and deploy properly.
Reproduce
Use to template to create a new demo.
Add page to github actions
Context
The text was updated successfully, but these errors were encountered: