Closed t2b closed 4 years ago
I'm also experiencing exactly the same issue for my customers.
Same pip and sam versions as well.
I had the same error with the same pip version.
It was solved by lowering the version of pip.
pip install pip==19.2.3
Can confirm lowering the pip version works.
Thank you guys for having this problem. Looks like pip 19.3 was just released 14 hours ago.
For anyone using pipenv and not straight pip/requirements.txt you can do pipenv run python -m pip install pip==19.2.3
Same for Python3.6
I think this is to do with new versions of pip supporting pyproject.toml as well as setup.py / requirements.txt model.
Same for Python3.6
Yeah this happened for us on 3.6 with the ubuntu 1.0 codebuild image. We tried moving to the Ubuntu 2.0 codebuild image which forced a 3.7 update and same thing. It would seem to be entirely related to the pip 19.3 update. Kinda disappointing that either this package or the codebuild containers don't enforce stricter version control for pip.
With the latest from develop, this issue should be gone. the fix will roll out as part of the next release.
@TheSriram What commit(s)/PR(s) are responsible for fixing this problem?
Any idea when the next release will be? I'm running into this issue on a build with Docker image lambci/lambda:build-python3.7. Supposedly it's using pip 19.0.3, but I'm still hitting the issue:
22-Oct-2019 19:24:49 You are using pip version 19.0.3, however version 19.3.1 is available.
Description
with aws-sam-cli==0.22.0 and pip==19.3 installed sam build fails:
Steps to reproduce
template.yml
requirements.txt
commands to reproduce
Observed result
command output with
--debug
flag set.Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
sam --version
: 0.22.0