Skip to content

Commit

Permalink
nit python 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
chaudharysaket committed Nov 26, 2024
1 parent 47f9844 commit 60483f3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions libBuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@ function layer_name_str() {
"python3.12")
rt_part="Python312"
;;
"python3.13")
rt_part="Python313"
;;
"nodejs18.x")
rt_part="NodeJS18X"
;;
Expand Down Expand Up @@ -175,6 +178,9 @@ function s3_prefix() {
"python3.12")
name="nr-python3.12"
;;
"python3.13")
name="nr-python3.13"
;;
"nodejs18.x")
name="nr-nodejs18.x"
;;
Expand Down
2 changes: 1 addition & 1 deletion python/publish-layers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ function build-python313-arm64 {
echo "Building New Relic layer for python3.13 (arm64)"
rm -rf $BUILD_DIR $PY313_DIST_ARM64
mkdir -p $DIST_DIR
pip install --no-cache-dir -qU newrelic -t $BUILD_DIR/lib/python3.12/site-packages
pip install --no-cache-dir -qU newrelic -t $BUILD_DIR/lib/python3.13/site-packages
cp newrelic_lambda_wrapper.py $BUILD_DIR/lib/python3.13/site-packages/newrelic_lambda_wrapper.py
cp -r newrelic_lambda $BUILD_DIR/lib/python3.13/site-packages/newrelic_lambda
find $BUILD_DIR -name '__pycache__' -exec rm -rf {} +
Expand Down

0 comments on commit 60483f3

Please sign in to comment.