From 779811930be0988f3ab5dc5ce2fc81d5e47d5977 Mon Sep 17 00:00:00 2001 From: Alexandr Vieru <114598461+ArtPiece55@users.noreply.github.com> Date: Thu, 5 Jun 2025 11:48:46 -0400 Subject: [PATCH] Update package.py install_pip_requirements: fixing `--target` section of pip install, following aws documentation (https://docs.aws.amazon.com/lambda/latest/dg/python-layers.html) --- package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.py b/package.py index 6e19846c..154de805 100644 --- a/package.py +++ b/package.py @@ -1123,7 +1123,7 @@ def install_pip_requirements(query, requirements_file, tmp_dir): "install", "--no-compile", "--prefix=", - "--target=.", + "--target=python/.", "--requirement={}".format(requirements_filename), ] if docker: