api-performance-tests
api-performance-tests copied to clipboard
Bug: fastapi not compatible with pydantic v2
Description
the fastapi code fail at startup with PydanticUndefinedAnnotation
URL to code causing the issue
No response
MCVE
bug is gone if I edit the the file DockerfileFrameworks.jinja2
RUN apt-get update && apt-get upgrade -y && apt-get install gcc git curl -y && \
pip install --upgrade pip && \
pip install uvicorn[standard] pydantic==1.10.12
Steps to reproduce
No response
Screenshots
"In the format of: ![SCREENSHOT_DESCRIPTION](SCREENSHOT_LINK.png)
"
Logs
No response
Litestar Version
not related
Platform
- [X] Linux
- [ ] Mac
- [ ] Windows
- [ ] Other (Please specify in the description above)