Skip to content

AWS CDK v2 incompatibility #3096

@lsli8888

Description

@lsli8888

pip is failing for me due to conflicts between sagemaker and aws-cdk-lib, both of which are dependencies in my project. Specifically, it's due to the attrs dependency. Pip spits out the following error noting the conflict:

The conflict is caused by: sagemaker 2.88.3 depends on attrs==20.3.0 jsii 1.57.0 depends on attrs~=21.2
aws-cdk-lib depends on jsii >= 1.57.0, < 2.0.0. jsii in turn depends on attrs ~= 21.2. The problem is that sagemaker has a hard dependency on attrs version 20.3.0. Is this a hard dependency, or can you modify the dependency to be something like attrs>=20.3.0?

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependenciesPull requests that update a dependency file

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions