Closed cartalla closed 1 month ago
Python 3.10 has the following:
Require OpenSSL 1.1.1 or newer
This is an issue for some OS distributions, but shouldn't be an issue for the Lambda functions.
When I try to use 3.10 I get the following import error:
LAMBDA_WARNING: Unhandled exception. The most likely cause is an issue in the function code. However, in rare cases, a Lambda runtime update can cause unexpected function behavior. For functions using managed runtimes, runtime updates can be triggered by a function change, or can be applied automatically. To determine if the runtime has been updated, check the runtime version in the INIT_START log entry. If this error correlates with a change in the runtime version, you may be able to mitigate this error by temporarily rolling back to the previous runtime version. For more information, see https://docs.aws.amazon.com/lambda/latest/dg/runtimes-update.html
[ERROR] Runtime.ImportModuleError: Unable to import module 'CreateParallelClusterConfig': No module named 'rpds.rpds'
Traceback (most recent call last):
The only lambda that was still using 3.8 was CallSlurmRestApiLambda.
Describe the bug Update all Lambdas to a newer version of Lambda.
Currently all are at 3.9 except CallSlurmRestApiLambda which is at 3.8.