This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Please support latest SQLAlchemy or pin it #2996
Comments
@samuelcolvin This comes from If this is not solved, @tiangolo will probably fix this in the next weeks. |
https://github.com/encode/databases/releases/tag/0.4.3 is out! @samuelcolvin No need for your fix anymore! |
Also it seems to me, that SQLAlchemy 1.4 has started to support async for its ORM. It would be great to have it available in fastapi. https://docs.sqlalchemy.org/en/14/orm/extensions/asyncio.html#synopsis-orm |
Is the use of
|
Michael Kennedy goes over async SQLAlchemy with FastAPI in one of his latest courses: https://github.com/talkpython/web-applications-with-fastapi-course/tree/main/code/ch8-async-databases It's definitely interesting to play around with, but the SQLAlchemy asyncio extension is still considered beta software until the 2.0 release. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Hi @tiangolo, fastapi tests are currently failing and therefore causing pydantic tests to fail.
See pydantic/pydantic#2584, fastapi is not compatible with the v1.4 of SQLAlchemy which was released earlier in March, I've had to pin to
SQLAlchemy==1.3.23
Please could we fix fastapi (the incompatibility looks like it might be trivial) or pin the dependency?
Once master of fastapi is fixed, we'll need to remember to also remove the hack from pydantic.
The text was updated successfully, but these errors were encountered: