Skip to content
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

Don't provide incompatible packages in python env #376

Closed
michael-k opened this issue Aug 7, 2020 · 1 comment
Closed

Don't provide incompatible packages in python env #376

michael-k opened this issue Aug 7, 2020 · 1 comment

Comments

@michael-k
Copy link

michael-k commented Aug 7, 2020

Here's a minimal buildspec.yml which fails without installing anything running on aws/codebuild/standard:4.0 (CodeBuild Image):

---
version: 0.2

phases:
  install:
    runtime-versions:
      python: 3.8
    commands:
      - python -m pip freeze
      - python -m pip check
Partial build log
(…)
[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:

@subinataws
Copy link
Contributor

Thanks for reporting the issue. This should be fixed in standard:4.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants