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
while doing the change, they broke the existing (but are already fixing it): pydantic/pydantic#10914
For us, this translate into the tests failing with stacktrace looking like
forbid_inf_nan_check,
schema,
)
else:
# It's rare that we'd get here, but it's possible if we add a new constraint and forget to handle it# Most constraint errors are caught at runtime during attempted application>raiseRuntimeError(f"Unable to apply constraint '{constraint}' to schema of type '{schema_type}'")
ERuntimeError: Unabletoapplyconstraint'host_required'toschemaoftype'function-wrap'
../../../miniforge3/envs/diracx-dev/lib/python3.11/site-packages/pydantic/_internal/_known_annotated_metadata.py:285: RuntimeError
The text was updated successfully, but these errors were encountered:
From pydantic 2.10, URL should be defined a bit differently
https://pydantic.dev/articles/pydantic-v2-10-release#migrate-to-subclassing-instead-of-annotated-approach-for-pydantic-url-types
while doing the change, they broke the existing (but are already fixing it): pydantic/pydantic#10914
For us, this translate into the tests failing with stacktrace looking like
The text was updated successfully, but these errors were encountered: