fastapi-utils icon indicating copy to clipboard operation
fastapi-utils copied to clipboard

Support to SqlAlchemy 2.0

Open rafa761 opened this issue 3 years ago • 4 comments

Description Hi there

Thank you for your effort to maintain this project

Is there any plan to support SqlALchemy 2.0?

I'm trying do install, but got the above error

#0 8.704 ERROR: Cannot install -r requirements.txt (line 12), -r requirements.txt (line 2) and SQLAlchemy==2.0.8 because these package versions have conflicting dependencies. #0 8.705 #0 8.705 The conflict is caused by: #0 8.705 The user requested SQLAlchemy==2.0.8 #0 8.705 fastapi-utils 0.2.1 depends on sqlalchemy<2.0.0 and >=1.3.12 #0 8.705 #0 8.705 To fix this you could try to: #0 8.705 1. loosen the range of package versions you've specified #0 8.705 2. remove package versions to allow pip attempt to solve the dependency conflict

rafa761 avatar Apr 06 '23 16:04 rafa761

@dmontagu Hope to support SQLAlchemy 2.0

cdddg avatar Apr 10 '23 02:04 cdddg

@dmontagu Up, thanks

marselsultanov avatar May 17 '23 17:05 marselsultanov

https://github.com/yuval9313/FastApi-RESTful is a more active fork of this repo that already has slqalchemy 2 support since 0.5.0 https://github.com/yuval9313/FastApi-RESTful/pull/202.

pavelzw avatar Aug 13 '23 18:08 pavelzw

This project seems to be dead now. You can collaborate here : https://github.com/priyanshu-panwar/fastapi-utilities | This is based on the same project. https://pypi.org/project/fastapi-utilities/0.1.0/

priyanshu-panwar avatar Oct 05 '23 13:10 priyanshu-panwar

I've resumed control over this project and now version 0.6.0 sqlalchemy 2 is supported!

yuval9313 avatar May 11 '24 15:05 yuval9313