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
Python 3.13.0b1 (initially python/cpython#118009 but there have been several follow ups) changed the signature of ForwardRef._evaluate so it is now _evaluate(globalns, localns, type_params=_sentinel, *, recursive_guard)
generate_self_schema.py calls this function as follows (with a fallback):
Python 3.13.0b1 (initially python/cpython#118009 but there have been several follow ups) changed the signature of
ForwardRef._evaluate
so it is now_evaluate(globalns, localns, type_params=_sentinel, *, recursive_guard)
generate_self_schema.py
calls this function as follows (with a fallback):pydantic-core/generate_self_schema.py
Lines 191 to 196 in aed6844
and therefore fails on both branches with
TypeError: ForwardRef._evaluate() missing 1 required keyword-only argument: 'recursive_guard'
Locally I changed
set()
torecursive_guard=set()
and it builds fine (with theUNSAFE_PYO3_SKIP_VERSION_CHECK
environment variable).Full build output
The text was updated successfully, but these errors were encountered: