TractorZoom / sam-cli-action

Github Action to build, package, and deploy serverless applications using the AWS SAM CLI.
18 stars 9 forks source link

Python 3.8 is no longer supported #10

Closed aheifetz closed 4 years ago

aheifetz commented 4 years ago

It looks like the Docker container was downgraded to python 2.7 which gives this error when using python 3.8:

Build Failed Error: PythonPipBuilder:Validation - Binary validation failed for python, searched for python in following locations : ['/usr/local/bin/python'] which did not satisfy constraints for runtime: python3.8. Do you have python for runtime: python3.8 on your PATH?

cody-hoffman commented 4 years ago

https://github.com/TractorZoom/sam-cli-action/blob/e482ab12eefd4ac0864c85a39a8a2337a9ba7c4b/Dockerfile#L1 it looks like it's using Python 3.7 not 2.7

twebber90 commented 4 years ago

@aheifetz change for this has been merged 👍