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

The library specifies upper bound for dependencies

Open dvarrazzo opened this issue 1 year ago • 0 comments

The redis library is specified with an upper bound:

https://github.com/long2ice/fastapi-cache/blob/91ba6d75524b1f6a17ae6a3300ab51b9aa1fcf71/pyproject.toml#L21C1-L21C51

This is a bad practice in libraries, it can easily cause impossible dependencies combinations.

For a more in-depth discussion: https://iscinumpy.dev/post/bound-version-constraints/

dvarrazzo avatar Feb 02 '24 03:02 dvarrazzo