Python 3.11 support
grantmcconnaughey opened this issue · 14 comments
AWS Lambda now supports Python 3.11. It would be great if this package was updated to support Python 3.11, since it has some really nice performance improvements.
https://aws.amazon.com/about-aws/whats-new/2023/07/aws-lambda-python-3-11/
I was able to get the 3.9 module to run on 3.11 by renaming the file _psycopg.cpython-39-x86_64-linux-gnu.so
to _psycopg.so
. I then zipped it up and created a layer
could someone help exactly how do I get this to work with python3.11?
@isaaclall Rename this file to _psycopg.so
. Then zip the directory in the layer structure that you use e.g. /python
or site-packages
And deploy. You might want to use ssl to connect and in that case follow these instructions
ahh thank you!
Can you confirm if this is working for you, for 3.11 python with openssl
Can you confirm if this is working for you, for 3.11 python with openssl
Does not work for me. I get the following error message:
[ERROR] Runtime.ImportModuleError: Unable to import module 'store_parameter': libssl.so.3: cannot open shared object file: No such file or directory
I have create a PR with changes that allow me to use psycopg2 in AWS lambdas
#84
@zosiek666 does this have ssl support?
Any update on this solutions for ssl support?
@zosiek666 does this have ssl support?