We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Here's a minimal buildspec.yml which fails without installing anything running on aws/codebuild/standard:4.0 (CodeBuild Image):
buildspec.yml
aws/codebuild/standard:4.0
--- version: 0.2 phases: install: runtime-versions: python: 3.8 commands: - python -m pip freeze - python -m pip check
(…) [Container] 2020/08/07 00:00:00 Running command python -m pip freeze (…) aws-sam-cli==0.52.0 (…) boto3==1.14.1 (…) [Container] 2020/08/07 00:00:00 Running command python -m pip check aws-sam-cli 0.52.0 has requirement boto3>=1.13.0,~=1.13.0, but you have boto3 1.14.1. [Container] 2020/08/07 00:00:00 Command did not exit successfully python -m pip check exit status 1 [Container] 2020/08/07 00:00:00 Phase complete: INSTALL State: FAILED [Container] 2020/08/07 00:00:00 Phase context status code: COMMAND_EXECUTION_ERROR Message: Error while executing command: python -m pip check. Reason: exit status 1
Possible solutions:
Use full pinning
pip and PyYAML are already pinned. Maybe pin everything (including dependencies of dependencies) by using pip-compile. See eg. feat: Allow pinned requirements for linux installs from source aws-sam-cli#1917
Use pip's new dependency resolver.
See eg. https://blog.python.org/2020/07/upgrade-pip-20-2-changes-20-3.html and pip needs a dependency resolver pypa/pip#988 (comment)
The text was updated successfully, but these errors were encountered:
Thanks for reporting the issue. This should be fixed in standard:4.0.
Sorry, something went wrong.
No branches or pull requests
Here's a minimal
buildspec.yml
which fails without installing anything running onaws/codebuild/standard:4.0
(CodeBuild Image):Partial build log
Possible solutions:
Use full pinning
pip and PyYAML are already pinned. Maybe pin everything (including dependencies of dependencies) by using pip-compile. See eg. feat: Allow pinned requirements for linux installs from source aws-sam-cli#1917
Use pip's new dependency resolver.
See eg. https://blog.python.org/2020/07/upgrade-pip-20-2-changes-20-3.html and pip needs a dependency resolver pypa/pip#988 (comment)
The text was updated successfully, but these errors were encountered: