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

Redis version conflict?

Open scottyeung opened this issue 1 year ago • 2 comments

Is it possible to bump the current version of Redis to 5.0.8?

Because fastapi-cache2[redis] (0.2.2) depends on redis (>=4.2.0rc1,<5.0.0) and no versions of fastapi-cache2 match >0.2.2,<0.3.0, fastapi-cache2[redis] (>=0.2.2,<0.3.0) requires redis (>=4.2.0rc1,<5.0.0). So, because app depends on both redis (^5.0.8) and fastapi-cache2[redis] (^0.2.2), version solving failed.

scottyeung avatar Sep 01 '24 02:09 scottyeung

@scottyeung same problem. will work if you remove [redis]'s extra

pip install fastapi-cache2

instead of

pip install "fastapi-cache2[redis]"

villqrd avatar Sep 16 '24 06:09 villqrd

Updated dependencies

long2ice avatar Sep 19 '24 07:09 long2ice

@scottyeung @villqrd The Redis version was bumped to 5.0.8 in 157a9135 and is on the main branch but not rolled up for the next release yet.

vicchi avatar Nov 09 '24 10:11 vicchi

Closing this as wontfix but feel free to re-open if you're still having problems.

vicchi avatar Nov 09 '24 10:11 vicchi