-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(lambda-python): Pipenv projects no longer work for Python 3.6 #20019
Conversation
`pipenv` has dropped support for Python 3.6. Our install command was installing the latest `pipenv`, but that will start failing. Instead, pin to the latest version that still supports 3.6.
RUN pip install pipenv poetry | ||
|
||
# pipenv 2022.4.8 is the last version with Python 3.6 support | ||
RUN pip install pipenv==2022.4.8 poetry |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We probably should handle this the same way we handle awscli
with lambda-layer-awscli
aws-cdk/packages/@aws-cdk/lambda-layer-awscli/layer/Dockerfile
Lines 18 to 19 in 10f5ede
COPY requirements.txt ./ | |
RUN python -m pip install -r requirements.txt -t /opt/awscli |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
…0019) `pipenv` has dropped support for Python 3.6. Our install command was installing the latest `pipenv`, but that will start failing. Instead, pin to the latest version that still supports 3.6. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
…0019) `pipenv` has dropped support for Python 3.6. Our install command was installing the latest `pipenv`, but that will start failing. Instead, pin to the latest version that still supports 3.6. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
…s#20019) `pipenv` has dropped support for Python 3.6. Our install command was installing the latest `pipenv`, but that will start failing. Instead, pin to the latest version that still supports 3.6. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
pipenv
has dropped support for Python 3.6. Our install command wasinstalling the latest
pipenv
, but that will start failing. Instead,pin to the latest version that still supports 3.6.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license