-
-
Notifications
You must be signed in to change notification settings - Fork 12.2k
Closed
Description
The build-wasm-emscripten job is failing for all PRs with the following error:
File "/opt/hostedtoolcache/Python/3.11.2/x64/lib/python3.11/site-packages/pyodide_build/io.py", line 30, in _SourceSpec
@pydantic.root_validator
^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.2/x64/lib/python3.11/site-packages/pydantic/deprecated/class_validators.py", line 222, in root_validator
return root_validator()(*__args) # type: ignore
^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.2/x64/lib/python3.11/site-packages/pydantic/deprecated/class_validators.py", line 228, in root_validator
raise PydanticUserError(
pydantic.errors.PydanticUserError: If you use `@root_validator` with pre=False (the default) you MUST specify `skip_on_failure=True`. Note that `@root_validator` is deprecated and should be replaced with `@model_validator`
See e.g. this CI job: https://github.com/numpy/numpy/actions/runs/5425181374/jobs/9865592039?pr=24087
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels