-
Notifications
You must be signed in to change notification settings - Fork 407
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
Bug: Serverless Application Repository Extra Layer Does not Contain Pydantic #1519
Comments
Thanks for opening your first issue here! We'll come back to you as soon as we can. |
Similar to this issue |
@am29d could you help us on this? |
Another mystery with the layers appears. Due to recent revert of This caused dependency resolution issues during extras package installation:
The biggest problem is that it failed silently and the tests did not catch the missing package in a test deployment. I will add additional mechanism with checks and tests to ensure it won't happen in the future. I have checked the last 10 previous releases and only the last version is affected (1.29.1) |
@lhendrick-t10 thanks for reporting this! @am29d found and fixed the underlying issue, and we'll release 1.29.2 in the next hour to fix the SAR layer |
Awesome! Thanks @am29d and @rubenfonseca, really appreciate all the help! |
Hey @lhendrick-t10 , sorry for the release delay, but the new version 1.29.2 is now deployed to SAR and the issue has been fixed. |
|
Expected Behaviour
Attaching the extras layer to a Lambda Function should enable it to use pydantic functionality for the Parser.
Current Behaviour
Attempting to invoke the Lambda returns the following error:
Downloading the layer provides me with a 10.1 MB zip file, where the docs say to expect a 22MB compressed file
Attached Code Snippet is a minimal example
Code snippet
Possible Solution
Rebuild and deploy layer with pydantic dependencies
Steps to Reproduce
AWS Lambda Powertools for Python version
latest
AWS Lambda function runtime
3.9
Packaging format used
Serverless Application Repository (SAR) App
Debugging logs
No response
The text was updated successfully, but these errors were encountered: