Skip to content

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

Open

Description

@corey-cole

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.

Activity

  1. corey-cole commented on Sep 6, 2023

    @corey-cole
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions