Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
compat: do not patch pydantic if the installed version starts with "1…
…." (#3482) In pydantic 1.10.16 (hopefully the last version), they added the `pydantic.v1` namespace to make transitioning to the v2 package easier without changing code. However, Reflex was depending on pydantic v1 NOT having `pydantic.v1` to skip patching names from `v1` into the top level `pydantic` (normally we do this to force sqlmodel to use v1, even when the v2 package is installed). Unbreak CI
- Loading branch information