Closed faizanazim11 closed 6 months ago
I install this package 6.1.0 with fastapi 0.110.0 it works
I install this package 6.1.0 with fastapi 0.110.0 it works
It may be working when installed manually, but try installing using requirements.txt with the fastapi version as loosely coupled for automated resolution. It will get less than 0.100.0 as it is set in the pyproject.toml file of the package.
I also use the requirements.txt to install the packages, it works for me, you may need to provide reproduce steps
I'm getting raise RuntimeError("Cannot add middleware after an application has started")
The new version 7.0.0 resolves the original query, closing this ticket.
FastAPI version for the package has been locked to support only less than 100.0 which is resulting in failure of installation due to conflicting dependencies.
Many projects are adopting pydantic 2.x for validation. FastAPI version 10x.x version is required for pydantic 2.x.
Please upgrade the requirements for the package to support newer versions of FastAPI. I don't feel there is any change required to adapt to those versions.