kevinslin / cdk-constants

Useful constants for aws-cdk
Apache License 2.0
150 stars 18 forks source link

Version 3.0.3 incompatible with CDK 1.26.0 #3

Open pepastach opened 4 years ago

pepastach commented 4 years ago

Hi,

cdk-constants version 3.0.3 depends on jsii (>=0.21.1,<0.22.0), which is not compatible with CDK 1.26.0 (it requires jsii (>=0.22.0,<0.23.0)).

Can you please release a new version with updated/relaxed jsii dependency?

Here's a complete output of poetry update in my Python project where I tried upgrading CDK core to 1.26.0:

[SolverProblemError]
Because no versions of cdk-constants match >3.0.3,<4.0.0
 and cdk-constants (3.0.3) depends on jsii (>=0.21.1,<0.22.0), cdk-constants (>=3.0.3,<4.0.0) requires jsii (>=0.21.1,<0.22.0).
And because aws-cdk.core (1.26.0) depends on jsii (>=0.22.0,<0.23.0)
 and no versions of aws-cdk.core match >1.26.0,<2.0.0, cdk-constants (>=3.0.3,<4.0.0) is incompatible with aws-cdk.core (>=1.26.0,<2.0.0).
So, because bp-tornado-online depends on both aws-cdk.core (^1.26.0) and cdk-constants (^3.0.3), version solving failed.

Thank you :)

ilko-rbi commented 4 years ago

same here - could you please update the jsii to some more recent version - for example aws-cdk 1.62.0 on python requires jsii >=1.11.0 and considering the newly implemented pip resolution algorithm makes the usage of this library impossible with a current aws-cdk versions ERROR: dependency resolution impossible when checking with

pip install -r requirements.txt --use-feature=2020-resolver

thanks