Nested cdk Python dependencies are not explicitly versioned #5460
Labels
bug
This issue is a bug.
language/python
Related to Python bindings
management/devenv
Related to CDK development/build environment
needs-triage
This issue or PR still needs to be triaged.
When explicitly setting the version of cdk dependencies for python projects, nested dependencies used by those cdk packages don't use an explicit version ( == ) and instead use a greater-than-or-equal version ( >= ).
This causes unanticipated updates to the cdk packages even when explicitly setting the version.
For example, from a pip install log. Here we explicitly declare a dependency on aws-cdk.core==1.18.0, but the core has a dependency on aws-cdk.cx-api>=1.18.0 which then installs 1.19.0. This happens for all nested dependencies.
Reproduction Steps
in requirements.txt:
Then:
Error Log
From the example above:
Environment
Other
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: