Skip to content

The python runtime has an inflexible dependency on typeguard~=2.13.3 #1186

Closed
@MatthewGrant

Description

@mrgrain I'm looking for some help. This package specifically aws-cdk.asset-kubectl-v20 is a dependency of aws-cdk-lib for the python runtime. I'm trying to install a package that depends on a higher version of the currently pinned dependency typeguard.

Can the v20 dependencies be bumped and released to include "jsii>=1.103.1, <2.0.0" to get the pacmak updates from this PR. I think aws-cdk-asset-awscli-v1 v2.2.202 had the same issue but is now fixed in higher versions. diff

# requirements.txt - py3.9
aws-cdk-lib==2.161.1
aws-cdk-asset-awscli-v1>2.2.202
typeguard>=4.0
pip install -r requirements.txt

ERROR: Cannot install -r requirements.txt (line 1), aws-cdk-lib and typeguard>=4.0 because these package versions have conflicting dependencies.
The conflict is caused by:
    The user requested typeguard>=4.0
    aws-cdk-lib 2.161.1 depends on typeguard<5.0.0 and >=2.13.3
    aws-cdk-asset-awscli-v1 2.2.203 depends on typeguard<5.0.0 and >=2.13.3
    aws-cdk-asset-kubectl-v20 2.1.2 depends on typeguard~=2.13.3

Please let me know if this isn't the place for this request, my understanding is incorrect, thanks.

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