Description:
Python pip builder resolve dependency error : numpy==1.20.3 while running sam build with pandas in lambda app requirements.txt
deep debugging :
ran pip download --only-binary=:all: --no-deps --platform manylinux2014_x86_64 --implementation cp --abi cp38 --dest /tmp/samcli/scratch numpy==1.20.3 by logging into actively running amazon/aws-sam-cli-build-image-python3.8
its downloading with wheel file name : Saved /tmp/samcli/scratch/numpy-1.20.3-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
I guess its failing at : this-line
and I've tried with pip download --only-binary=:all: --no-deps --platform manylinux2014_x86_64 --implementation cp --abi cp38 --dest /tmp/samcli/scratch numpy==1.20.1
this downloaded wheel file : Saved /tmp/samcli/scratch/numpy-1.20.1-cp38-cp38-manylinux2010_x86_64.whl
clearly numpy==1.20.1 does not have any issue in file name
Steps to reproduce the issue:
- Run
sam build --use-container --build-image amazon/aws-sam-cli-build-image-python3.8 --debug with pandas lib dependency in lambda app requirements.txt
Observed result:
PythonPipBuilder:ResolveDependencies - {numpy==1.20.3(wheel)}
Expected result:
build successful
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
linux container env : amazon/aws-sam-cli-build-image-python3.8
Description:
Python pip builder resolve dependency error : numpy==1.20.3 while running sam build with pandas in lambda app requirements.txt
deep debugging :
ran
pip download --only-binary=:all: --no-deps --platform manylinux2014_x86_64 --implementation cp --abi cp38 --dest /tmp/samcli/scratch numpy==1.20.3by logging into actively runningamazon/aws-sam-cli-build-image-python3.8its downloading with wheel file name :
Saved /tmp/samcli/scratch/numpy-1.20.3-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whlI guess its failing at : this-line
and I've tried with
pip download --only-binary=:all: --no-deps --platform manylinux2014_x86_64 --implementation cp --abi cp38 --dest /tmp/samcli/scratch numpy==1.20.1this downloaded wheel file :
Saved /tmp/samcli/scratch/numpy-1.20.1-cp38-cp38-manylinux2010_x86_64.whlclearly numpy==1.20.1 does not have any issue in file name
Steps to reproduce the issue:
sam build --use-container --build-image amazon/aws-sam-cli-build-image-python3.8 --debugwith pandas lib dependency in lambda app requirements.txtObserved result:
PythonPipBuilder:ResolveDependencies - {numpy==1.20.3(wheel)}Expected result:
build successfulAdditional environment details (Ex: Windows, Mac, Amazon Linux etc)
linux container env : amazon/aws-sam-cli-build-image-python3.8