Skip to content

Commit 214a916

Browse files
author
Tsotne Tabidze
authored
Install redis extra in AWS Lambda feature server & add hiredis dependency (#2057)
Signed-off-by: Tsotne Tabidze <tsotne@tecton.ai>
1 parent f5c1935 commit 214a916

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

sdk/python/feast/infra/feature_servers/aws_lambda/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ COPY protos protos
99
COPY README.md README.md
1010

1111
# Install Feast for AWS with Lambda dependencies
12-
RUN pip3 install -e 'sdk/python[aws]'
12+
RUN pip3 install -e 'sdk/python[aws,redis]'
1313
RUN pip3 install -r sdk/python/feast/infra/feature_servers/aws_lambda/requirements.txt --target "${LAMBDA_TASK_ROOT}"
1414

1515
# Set the CMD to your handler (could also be done as a parameter override outside of the Dockerfile)

sdk/python/setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@
7878

7979
REDIS_REQUIRED = [
8080
"redis-py-cluster==2.1.2",
81+
"hiredis>=2.0.0",
8182
]
8283

8384
AWS_REQUIRED = [

0 commit comments

Comments
 (0)