New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scripts fail with version issues on backend #150
Comments
I also hit this issue. |
Solution:-Remove starlette from backends/requirements.txt. (Starlette is a dependency of fastapi so installing fastapi will automatically choose the correct version of starlette) Additional Details:This error is due to fastapi using starlette as a dependency. Fastapi 0.61.1 expects starlette 0.13.6 but the requirements.txt specifies starlette==0.13.8 and since the requirements.txt is using exact versions (==), pip can't resolve the conflict. |
Sorry for the delay, I went ahead and updated FastAPI and removed starlette as @rbracco suggested. Give it a try now. |
while trying to build the backend:
`INFO: pip is looking at multiple versions of celery to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of bcrypt to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of authlib to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of alembic to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install -r requirements.txt (line 3) and starlette==0.13.8 because these package versions have conflicting dependencies.
The conflict is caused by:
The user requested starlette==0.13.8
fastapi 0.61.1 depends on starlette==0.13.6
To fix this you could try to:
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies
ERROR: Service 'backend' failed to build : The command '/bin/sh -c pip install --no-cache-dir -r requirements.txt' returned a non-zero code: 1
The text was updated successfully, but these errors were encountered: