-
Notifications
You must be signed in to change notification settings - Fork 43
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
Python 3.10
layer broken (ImportModuleError
)
#159
Comments
3.10
layer ModuleImportError
3.10
layer broken (ImportModuleError
)
Must be specific to their example code as I was able to use the lambda layer in my own code without problems. Perhaps I could compare the two and find the solution 🤔 |
Any update on this, The issue is with other layers also (3.7,3.8) |
Thank you for reporting this. We have reviewed this issue and it looks like we may have a bug in the parsing logic for imported handlers. We are working on a fix for this and will update you on our release timeline once we have a better sense of it. |
Hi everyone! We have published a likely fix for this issue. Would you be able to try upgrading to the latest layer for your Python runtime and validate that the error has gone away? |
After updating to layer version |
Description
When using the new Python
3.10
compatible new relic layer (e.g.arn:aws:lambda:eu-west-1:451483290750:layer:NewRelicPython310:1
), our application fails. When deploying the python example and modifying the terraform code, I get the same error.Steps to Reproduce
Deploy the lambda python example with the newest new relic layer and python
3.10
(see also newrelic/newrelic-lambda-extension#157). Deployment then succeeds but testing fails with the above error.Expected Behaviour
It should be able to import the module
Relevant Logs / Console output
Your Environment
Additional context
The text was updated successfully, but these errors were encountered: