Skip to content

Commit f8f1141

Browse files
committed
Requirement: ping django-redis-cache to git tag
For some reason django-redis-cache==2.1.3 breaks with: @get_client(write=True) def get_or_set(self, client, key, func, timeout=DEFAULT_TIMEOUT): if not callable(func): raise Exception("Must pass in a callable") Looks like an older version gets installed somehow that does not contains the code we need. So, we force it to be pinned to a git tag.
1 parent f0da2a4 commit f8f1141

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

requirements/deploy.txt

+10-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,16 @@ gunicorn==20.1.0
1010

1111
# Version 3.0.0 drops support for Django < 3.0
1212
# https://github.com/sebleier/django-redis-cache/#300
13-
django-redis-cache==2.1.3 # pyup: ignore
13+
# django-redis-cache==2.1.3 # pyup: ignore
14+
# For some reason 2.1.3 breaks with:
15+
#
16+
# @get_client(write=True)
17+
# def get_or_set(self, client, key, func, timeout=DEFAULT_TIMEOUT):
18+
# if not callable(func):
19+
# raise Exception("Must pass in a callable")
20+
#
21+
# Looks like an older version gets installed somehow
22+
git+https://github.com/sebleier/[email protected]#egg=django-redis-cache
1423

1524
#For resizing images
1625
pillow==8.3.2

0 commit comments

Comments
 (0)