You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lambda runtimes use specific Amazon Linux versions with fixed GLIBC versions. Packages built on development machines with newer GLIBC versions will fail at runtime with import errors. Each Python runtime version corresponds to a specific Amazon Linux base system that determines compatible system library versions.
119
+
<!-- markdownlint-disable MD013 -->
120
+
Lambda managed runtimes use [specific Amazon Linux versions](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtimes-supported) versions with fixed GLIBC versions. Packages built on development machines with newer GLIBC versions will fail at runtime with import errors. Each Python runtime version corresponds to a specific Amazon Linux base system that determines compatible system library versions.
121
+
<!-- markdownlint-enable MD013 -->
120
122
121
123
### Amazon Linux versions and GLIBC compatibility
122
124
123
-
| Python Runtime | Base System | GLIBC Version | Architecture Support| Status|
|**python3.9**| Amazon Linux 2 | 2.26 | x86_64, arm64 |
128
+
|**python3.10**| Amazon Linux 2 | 2.26 | x86_64, arm64 |
129
+
|**python3.11**| Amazon Linux 2 | 2.26 | x86_64, arm64 |
130
+
|**python3.12**| Amazon Linux 2023 | 2.34 | x86_64, arm64 |
131
+
|**python3.13**| Amazon Linux 2023 | 2.34 | x86_64, arm64 |
130
132
131
133
???+ warning "GLIBC Version Mismatch"
132
134
Compiled libraries built on systems with newer GLIBC versions will fail on Lambda runtimes with older GLIBC versions. Ubuntu 24.04 (GLIBC 2.39) and Ubuntu 22.04 (GLIBC 2.35) are incompatible with Lambda python3.11 and earlier (GLIBC 2.26). Always use `--platform` flags or Docker with Lambda base images.
0 commit comments