aws-cloudformation / community-registry-extensions

MIT No Attribution
85 stars 27 forks source link

(CDK construct) Description too long for PyPI #220

Closed otaviomacedo closed 1 year ago

otaviomacedo commented 1 year ago

The AwsCommunity::Resource::Lookup resource has the following description:

https://github.com/aws-cloudformation/community-registry-extensions/blob/11002d11c5642e729ee87ecfa4a7f2f282d9aed8/resources/Resource_Lookup/awscommunity-resource-lookup.json#L3

which is longer than 512 characters. This is a problem for https://github.com/cdklabs/cdk-cloudformation when publishing the Python package. PyPI responds the attempt to publish the package with:

Response from https://upload.pypi.org/legacy/:                         
         400 'This resource uses the `ListRe...urce-types-determine-support .'  
         is an invalid value for Summary. Error: Field cannot be longer than 512
         characters. See                                                        
         https://packaging.python.org/specifications/core-metadata for more     
         information.

This means that Python CDK users are not getting the latest versions of this resource as L1 constructs.

mrinaudo-aws commented 1 year ago

Thank you, @otaviomacedo - I am looking into this.

mrinaudo-aws commented 1 year ago

Hi @otaviomacedo - I have submitted the PR linked above, pending review.