-
Meanwhile, `pyproject.toml' file has a valid version range. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
on a fresh pipenv install I get pydantic 0.29 installed and not the same Requires-Dist
|
Beta Was this translation helpful? Give feedback.
-
I'm not sure I undestand the problem. FastAPI If you have |
Beta Was this translation helpful? Give feedback.
-
I think you are right, looks like this is a poetry's issue. It installs not the latest version of pydantic, but version 0.28 even without lock file on a fresh environment. |
Beta Was this translation helpful? Give feedback.
-
Thanks @plankter for reporting back and closing the issue. |
Beta Was this translation helpful? Give feedback.
I'm not sure I undestand the problem.
FastAPI
0.31.0
is compatible with Pydantic0.28
and0.29
.If you have
0.28
installed, that would be used. You can upgrade Pydantic to0.29
and it would work (it wouldn't complain). If you install fresh, it would install the latest.