You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/./packyak.config.py:11: UserWarning: Typeguard cannot check the IReusableStackSynthesizer protocol because it is a non-runtime protocol. If you would like to type check this protocol, please use @typing.runtime_checkable
return old_check_type(*args, **kwargs)
/./packyak.config.py:11: UserWarning: Typeguard cannot check the IStackSynthesizer protocol because it is a non-runtime protocol. If you would like to type check this protocol, please use @typing.runtime_checkable
return old_check_type(*args, **kwargs)
Describe the feature
The python runtime for the CDK has an old and inflexible dependency on
typeguard~=2.13.3
https://github.com/aws/jsii/blob/main/packages/%40jsii/python-runtime/setup.py#L37C10-L37C27
Use Case
I would like to have a CDK application include the latest pandera libraries but this fixed dependency is a blocker.
Proposed Solution
Increase the range and add version-aware adaptation code if required to handle the different versions.
Later versions of
typeguard
no longer accept theargname
parameter. We'd have to change this line of code:jsii/packages/jsii-pacmak/lib/targets/python.ts
Lines 3205 to 3207 in 576fd20
Other Information
No response
Acknowledgements
CDK version used
2.134.0
Environment details (OS name and version, etc.)
Mac OS
The text was updated successfully, but these errors were encountered: