-
Notifications
You must be signed in to change notification settings - Fork 40
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
Update Python dependencies (typeguard) #2063
Comments
Dear AWS Team, We are in the same situation as @osqui0110. Would it be possible to update the typeguard version. Thank you and all the best! |
I hoppend a PR for jsii to fix this: aws/jsii#4455 It would be great if someone could review it. |
@mrgrain Me again, seeing a similar issue here with pinned typeguard package for the python runtime. Let me know if you think this can also be upgraded. Thanks. |
The latest release should include this: https://github.com/aws/constructs/releases/tag/v10.3.1 LMK if it works. |
You're the best! Looks like we are all good now. Thanks. |
|
Thanks for the report @berkaycagir Can you help me understand what's the issue here? It looks the new release of constructs caused your python project to now install typeguard v4, whereas previously it would pick typeguard v2? And with that newer version of typeguard, there's an incompatibility with the VPC construct in aws-cdk-lib? Does that some it up alright? |
The new typeguard is doing what it should. |
Yes, there's clearly something wrong with the code jsii produces. aws/jsii#4541 is a known issue, but this case seems to be different because the keyword args do match in both protocol and implementation. 🤔 |
Continuing the conversation here: aws/jsii#4658 |
We yanked the 10.3.1 release of constructs from PyPI as a quick mitigation for most users. We will revert this to an older version of typeguard soon. Re-opened this issue to track that we eventually need to release support for newer typeguard versions. To discuss the issue itself, please use aws/jsii#4658 |
I'm sorry I wasn't able to provide more details; but thank you very much for following up on it and the yank, I appreciate it. |
Hey!
I'm not sure about how you manage python dependencies.
I'm working on a project using glue Python shell scripts.
Trying to add Pandera to validate Pandas DFs, my dependency manager (poetry) shows:
That version of Typeguard is quite old (currently 4.x)
Is it possible to use updated dependencies?
thx!
The text was updated successfully, but these errors were encountered: