allient / create-fastapi-project

CLI to create Fastapi projects easily.
https://pypi.org/project/create-fastapi-project
MIT License
80 stars 10 forks source link

full template install failed due to deps issue #5

Open aviad-dev opened 2 months ago

aviad-dev commented 2 months ago

Thank you for this project. Trying to create a fastapi project with the full template, I got this error:

Exception: Error installing dependencies: 
Because no versions of fastapi-cache2 match >0.2.1,<0.3.0
 and fastapi-cache2 (0.2.1) depends on redis (>=4.2.0rc1,<5.0.0), fastapi-cache2 (>=0.2.1,<0.3.0) requires redis (>=4.2.0rc1,<5.0.0).
So, because app depends on both redis (^5.0.6) and fastapi-cache2 (^0.2.1), version solving failed.

I'm happy do help with a PR if you'd like to point me to the right place :)

trunet commented 1 month ago

this problem lies on fastapi-cache2, it depends on redis >=4.2.0rc1,<5.0.0. there's this PR https://github.com/long2ice/fastapi-cache/pull/414