terraform-cdk
terraform-cdk copied to clipboard
Python package requires version>=3.7, not >=3.6
Wanted to report that the python package cdktf_cdktf_provider_aws
requires a minimum Python version of 3.7 due to an error:
SyntaxError: more than 255 arguments
(I don't have the original message anymore, but it should be easily replicated)
Upgrading to 3.7 negates this error since this python release removes the limit of 256 function arguments. I figured I should report this since PyPi and the package itself reports that Python >=3.6
should be sufficient when it is no longer the case.
Thank you for the note @rirze!
I just traced this back to JSII where the Python >= 3.6
requirement originates. So we might want to post a PR to JSII which either detects whether more than 255 arguments are used and sets the version to 3.7
or which allows us to set this from the outside somehow.
I'll leave to others to decide whether it's really that critical to support 3.6
;)
Python 3.6 is end of life, so could probably just request to update to 3.7 everywhere.
I think we can just increase the requirement to Python 3.7 on our side
Jup, seems that JSII requires 3.7 now
I'm going to lock this issue because it has been closed for 30 days. This helps our maintainers find and focus on the active issues. If you've found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.