Skip to content
Discussion options

You must be logged in to vote

This seemed to be caused by the pydantic version, which I wouldn't have known without taking a deep dive into how the openapi file is generated. Apparently pip isn't smart enough to update the package dependencies, so I had to delete the pydantic folders from site packages and then reinstall requirements. (we don't have pydantic as explicit requirement, it is only required through fastapi).

Perhaps you need to add a rule that enforces newer pydantic version in the current fastapi version. The current version that got installed is 2.4.2, while the old one is shown in the original post.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by YuriiMotov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Question or problem
1 participant