-
Notifications
You must be signed in to change notification settings - Fork 397
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
Discussion: Python 3.10 AttributeError: 'dict' object has no attribute 'header_serializer' #2028
Comments
Copying response here hey @raulroscode, thanks a lot for creating this discussion. I'll transform as an issue and mark as a feature request so we can track it accordingly :) We haven't tested with 3.10 as it's not yet officially supported as a managed runtime. That said, the error seems slightly misleading as the One thing that would be super helpful is to have a GitHub sample to reproduce it quickly. I'd also appreciate any contribution for any backwards compatible fix to support 3.10 in areas we don't - I haven't fully gone through line by line in the 3.10 changes yet. @peterschutt IIRC you've been using 3.10 for quite some time using OCI - have you bumped into this? |
Can't say that I have @heitorlessa - I tried to follow the code path and hard to see how that |
Thank you @heitorlessa , I don't know if I can help with something, from the user point of view. If you think so please let me know. Regards. |
Hi @raulroscode! Hope things are going well there. Thank you. |
Hello everyone! Lambda added official support to Python 3.10 and Powertools added this support in v2.14.0. I put this issue |
Hello everyone, sorry for the delay and thank you for the update. I was trying to reproduce the problem in a new and simpler project and I didn't can do it, so may be it was any type of problem with other dependency in our project or a weird case. In fact we already have our code in production working with the version 3.10. Our next step is to go to 3.11, this version of python has great performance improvements and it would be nice if you could also check that powertools library is compatible with python 3.11. Thanks for your help. |
Hi @raulroscode, thanks for updating this issue! Powertools doesn't officially support Python version 3.11 and we don't have an ETA. Overall we expect to have Python 3.11 support on the same date as AWS Lambda 3.11 support and there is no official date for this yet. You can check out this thread about AWS Lambda Python 3.11 support. I'm closing this issue because we consider that the problem was solved. Feel free to reopen if you have any other questions. Thank you |
|
Discussed in #2022
Originally posted by raulroscode March 17, 2023
Hello, I have updated my runtime python version to 3.10 and I'm getting this error:
AttributeError: 'dict' object has no attribute 'header_serializer'.
I think that aws-lambda-powertools only supports until python 3.9. Should it work with python 3.10?. Do you know when it will be available for python 3.10 and/or 3.11?
Thanks.
The text was updated successfully, but these errors were encountered: