-
Notifications
You must be signed in to change notification settings - Fork 1.2k
AWS CDK v2 incompatibility #3096
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
Comments
I had to downgrade to sagemaker 2.75.1 to make it work. |
+1 |
I am also experiencing the same issue, had to downgrade to sagemaker 2.75.1. Would love to use more recently added features so I'm also wondering whether the hard dependency on |
Works for me. Thanks! |
We have provided the fix for this dependency issue in sagemaker>=v2.111.0. Please feel free to open this issue if there are any concerns. |
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?
The text was updated successfully, but these errors were encountered: