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
Prefect is not yet compatible with Pydantic v2, and there are
backward-incompatible changes requiring migration, so pin our
requirements to v1 only for the time being.
Closes: #10143
First check
Bug summary
Prefect's dependency on the
pydantic
pacakge is defined as:pydantic >= 1.10.0
this breaks Prefect upon the recent release of 2.0 which has breaking changes and is not backward compatible.
So unless I'm missing something (?) seems like Prefect is just not compatible with the new Pydantic, but does not enforce this.
Locally, i fixed by enforcing an older version of pydantic in my project, but this should probably be fixed at the requirement level
Reproduction
Error
Versions
Additional context
Using poetry in my project (to manage deps), if it matters
The text was updated successfully, but these errors were encountered: