From 8daa7cbd8f2a4347345a07842ecb3d3d46f3a1a5 Mon Sep 17 00:00:00 2001 From: Aimee Barciauskas Date: Mon, 6 Nov 2023 08:46:28 -0800 Subject: [PATCH] Add dask, remove some of its deps --- infrastructure/aws/lambda/Dockerfile | 3 +++ pyproject.toml | 1 + 2 files changed, 4 insertions(+) diff --git a/infrastructure/aws/lambda/Dockerfile b/infrastructure/aws/lambda/Dockerfile index a3723e4..d9e765f 100644 --- a/infrastructure/aws/lambda/Dockerfile +++ b/infrastructure/aws/lambda/Dockerfile @@ -26,6 +26,9 @@ RUN find /asset -type d -a -name 'tests' -print0 | xargs -0 rm -rf RUN rm -rdf /asset/numpy/doc/ /asset/bin /asset/geos_license /asset/Misc RUN rm -rdf /asset/boto3* RUN rm -rdf /asset/botocore* +RUN rm -rdf /asset/click* +RUN rm -rdf /asset/pyyaml* +RUN rm -rdf /asset/partd* COPY infrastructure/aws/lambda/handler.py /asset/handler.py diff --git a/pyproject.toml b/pyproject.toml index eaab1f2..fa36bb6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,6 +26,7 @@ classifiers = [ dynamic = ["version"] dependencies = [ "cftime", + "dask", "h5netcdf", "xarray", "rioxarray",