Skip to content

Commit f945654

Browse files
Adding cross build page
1 parent e8a030b commit f945654

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

docs/build_recipes/cross-platform.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -116,17 +116,19 @@ pydantic-2.5.0-cp311-cp311-linux_x86_64.whl
116116

117117
## Lambda runtime environments
118118

119-
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 -->
120122

121123
### Amazon Linux versions and GLIBC compatibility
122124

123-
| Python Runtime | Base System | GLIBC Version | Architecture Support | Status |
124-
|----------------|-------------|---------------|---------------------|---------|
125-
| **python3.9** | Amazon Linux 2 | 2.26 | x86_64, arm64 | Supported |
126-
| **python3.10** | Amazon Linux 2 | 2.26 | x86_64, arm64 | Supported |
127-
| **python3.11** | Amazon Linux 2 | 2.26 | x86_64, arm64 | Supported |
128-
| **python3.12** | Amazon Linux 2023 | 2.34 | x86_64, arm64 | Supported |
129-
| **python3.13** | Amazon Linux 2023 | 2.34 | x86_64, arm64 | Supported |
125+
| Python Runtime | Base System | GLIBC Version | Architecture Support |
126+
|----------------|-------------------|---------------|----------------------|
127+
| **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 |
130132

131133
???+ warning "GLIBC Version Mismatch"
132134
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

Comments
 (0)