Closed cnly1987 closed 3 years ago
Thanks for raising this. Can I first ask you to update to the latest version of fastapi-sqlalchemy (0.1.4 at time of writing) and then tell me if you get the same error? Looking back, I think I messed up the Starlette version requirements in 0.1.0.
Thanks for raising this. Can I first ask you to update to the latest version of fastapi-sqlalchemy (0.1.4 at time of writing) and then tell me if you get the same error? Looking back, I think I messed up the Starlette version requirements in 0.1.0.
yeah!
fastapi's lastest-version depends Starlette=0.13.4
but the fastapi-sqlalchemy_0.1.0 depends Starlette=0.12.9
Starlette(0.13.4) no module named 'run_until_first_complete'
Hi @cnly1987 - can I just check why you closed this? If this is resolved, then I don't need to look into it, otherwise I will look into it.
@mfreeborn I have installed the latest version of fastapi-sqlalchemy, but still it's starlette version error!
Reopened and will fix tomorrow. Thanks for the feedback.
@nahid002345 I'm struggling to reproduce on my end. I've done a fresh install of fastapi and fastapi-sqlalchemy and they seem to work fine together. Fastapi-sqlalchemy requires starlette >= 0.12.9, which is compatible with fastapi's requirement starlette == 0.13.4.
If you type pip list
, what is the output?
No responses and unable to reproduce. Closing.
if i install starlette<=0.12.9 then fastapi error: from starlette.concurrency import run_until_first_complete # noqa ImportError: cannot import name 'run_until_first_complete'