From d842fa62de743326563b993f6f2fb785e78aeddf Mon Sep 17 00:00:00 2001 From: Leon Luttenberger Date: Tue, 27 Aug 2024 12:42:30 -0500 Subject: [PATCH] change order of pip install commands --- building/lambda/build-lambda-layer.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/building/lambda/build-lambda-layer.sh b/building/lambda/build-lambda-layer.sh index 30d958fee..2c58145d6 100755 --- a/building/lambda/build-lambda-layer.sh +++ b/building/lambda/build-lambda-layer.sh @@ -81,11 +81,11 @@ popd pushd /aws-sdk-pandas +pip3 install . -t ./python ".[redshift,mysql,postgres,gremlin,opensearch,openpyxl]" + # Install Numpy 1.x because 2.x is not support in layers right now pip3 install "numpy==1.*" -t ./python -pip3 install . -t ./python ".[redshift,mysql,postgres,gremlin,opensearch,openpyxl]" - rm -rf python/pyarrow* rm -rf python/boto* rm -rf python/urllib3*