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

Plugin dependencies incompatible with latest version of AWS SAM CLI #264

Open
corey-cole opened this issue Sep 6, 2023 · 1 comment
Open

Comments

@corey-cole
Copy link

If the latest AWS SAM CLI and the plugin are both installed into the same Python (virtual) environment, there are a pair of dependency conflicts:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
aws-sam-cli 1.97.0 requires cfn-lint~=0.79.7, but you have cfn-lint 0.72.10 which is incompatible.
aws-sam-cli 1.97.0 requires PyYAML>=6.0.1,~=6.0, but you have pyyaml 5.4.1 which is incompatible.
@corey-cole
Copy link
Author

Side note if anyone else is following along: SAM 1.92.0 is the latest version with a compatible PyYAML, and SAM 1.69.0 is the latest with a compatible cfn-lint. Unfortunately, reverting to such an old version with the latest plugin surfaces new dependency issues:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
cloudformation-cli 0.2.32 requires docker>=4.3.1, but you have docker 4.2.2 which is incompatible.
cloudformation-cli 0.2.32 requires Werkzeug>=2.2.0, but you have werkzeug 2.0.3 which is incompatible.

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

1 participant