Skip to content

Commit 96354c6

Browse files
committed
add poetry.lock back
1 parent f5f1e85 commit 96354c6

7 files changed

+852
-132
lines changed

datadog_lambda/tracing.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ def is_authorizer_response(response) -> bool:
385385
and response["principalId"]
386386
and response["policyDocument"]
387387
)
388-
except KeyError:
388+
except (KeyError, AttributeError):
389389
pass
390390
except Exception as e:
391391
logger.debug("unknown error while checking is_authorizer_response %s", e)

dependency.lock.amd64.3.7

-32
This file was deleted.

dependency.lock.amd64.3.8

-32
This file was deleted.

dependency.lock.arm64.3.8

-32
This file was deleted.

dependency.lock.arm64.3.9

-30
This file was deleted.

poetry.lock

+849
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/build_layers.sh

+2-5
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,9 @@ function docker_build_zip {
5858

5959
# Zip to destination, and keep directory structure as based in $temp_dir
6060
(cd $temp_dir && zip -q -r $destination ./)
61-
echo "Done creating archive $destination"
62-
rm -rf $temp_dir
63-
docker run datadog-lambda-python-${arch}:$1 sh -c "cd /build/python/lib/python$1/site-packages/ && \
64-
python -c \"import pkg_resources; packages = sorted(['%s==%s' % (i.key, i.version) for i in pkg_resources.working_set]);\
65-
print(*packages,sep ='\n')\"" > dependency.lock.${arch}.$1
6661

62+
rm -rf $temp_dir
63+
echo "Done creating archive $destination"
6764
}
6865

6966
rm -rf $LAYER_DIR

0 commit comments

Comments
 (0)