Closed stephenmccalman closed 1 year ago
It appears that empack does not support Pydantic V2 yet.
https://docs.pydantic.dev/2.0/migration/ namely,
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.
Thanks for opening an issue! I'm moving it to empack
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