aws-cloudformation / aws-cloudformation/cloudformation-cli
Codebuild failed: incompatible dependency versions
- Dominant language
- Python
- Stars
- 336
- Forks
- 172
- Avg merge
- 3d 5m
- Merged PRs (30d)
- 3
Description
I was able to build locally. But when submit PR into the repo the Codebuild check failed and the build failed as well.
I have tried to use the fix from [Issue](https://github.com/aws-cloudformation/cloudformation-cli/issues/676) by adding the `pip install --upgrade 'six==1.15.0'` into the buildspec.yml but still failed. There are still some incompatible error in the build
```
ERROR: aws-sam-cli 0.48.0 has requirement aws-sam-translator==1.22.0, but you'll have aws-sam-translator 1.36.0 which is incompatible.
ERROR: aws-sam-cli 0.48.0 has requirement docker~=4.0, but you'll have docker 5.0.0 which is incompatible.
ERROR: cfn-lint 0.50.0 has requirement pyyaml>=5.4; python_version != "3.4" and python_version != "3.5", but you'll have pyyaml 5.1.2 which is incompatible.
```
Here is the CodeBuild log [CodeBuild IsenLog](https://console.aws.amazon.com/codesuite/codebuild/485432771924/projects/aws-cloudformation-resource-providers-lookoutequipment-ci/build/aws-cloudformation-resource-providers-lookoutequipment-ci%3Ab392f34e-1f63-41a1-b687-c594793e68a1/?region=us-east-1)
Here is snapshot for the error


Contributor guide
Assessment
This issue has not been assessed yet.