|
| 1 | +# Detailed Test Tier Breakdown |
| 2 | + |
| 3 | +GraalPy test tiers are similar to [CPython Platform Support Tiers](https://peps.python.org/pep-0011/), but do not constitute or imply any commitment to support. |
| 4 | + |
| 5 | +Generally, running pure Python code on GraalPy without JIT is compatible with any recent JDK. |
| 6 | +However, support for native extensions, platform-specific APIs, and just-in-time compilation is more limited. |
| 7 | + |
| 8 | +Platform testing is organized into Tiers, each with specific goals. |
| 9 | +Tiers are identified by a "target tuple": `[CPU architecture]-[Operating System]-[libc]-[JDK]-[Java version]`. |
| 10 | +JDK names correspond to those used by [SDKMAN!](https://sdkman.io/). |
| 11 | +The term "graal" is used to refer to testing on both Oracle GraalVM and GraalVM Community Edition, including GraalVM Native Image. |
| 12 | +The following tables list tested platforms by tier. |
| 13 | +Platforms not listed are untested. |
| 14 | + |
| 15 | +**Tier 1** |
| 16 | + |
| 17 | +- CI failures block releases. |
| 18 | +- Changes which would break the main or release branches are not allowed to be merged; any breakage should be fixed or reverted immediately. |
| 19 | +- All core developers are responsible to keep main, and thus these platforms, working. |
| 20 | +- Platform-specific Python APIs and Python C extensions are fully tested. |
| 21 | + |
| 22 | +| Platform | Notes | |
| 23 | +|----------------------------------|----------------------------| |
| 24 | +| amd64-linux-glibc-graal-latest | Oracle Linux 8 or similar. | |
| 25 | +| aarch64-linux-glibc-graal-latest | Oracle Linux 8 or similar. | |
| 26 | + |
| 27 | +**Tier 2** |
| 28 | + |
| 29 | +- CI failures block releases. |
| 30 | +- Changes which would break the main or release branches are not allowed to be merged; any breakage should be fixed or tests marked as skipped. |
| 31 | +- Circa 10% of tests running on Tier 1 platforms may be skipped on Tier 2 platforms. |
| 32 | +- Platform-specific Python APIs are fully tested; Python C extensions may have more issues than on Tier 1 platforms. |
| 33 | + |
| 34 | +| Platform | Notes | |
| 35 | +|-----------------------------------|-------------------------| |
| 36 | +| aarch64-macos-darwin-graal-latest | macOS on M-series CPUs. | |
| 37 | + |
| 38 | +**Tier 3** |
| 39 | + |
| 40 | +- CI failures block releases. |
| 41 | +- Changes which would break the main or release branches are not allowed to be merged; any breakage should be fixed or tests marked as skipped. |
| 42 | +- Circa 25% of tests running on Tier 1 platforms may be skipped on Tier 3. |
| 43 | +- Tests for platform-specific Python APIs and Python C extension are run, but not prioritized. |
| 44 | + |
| 45 | +| Platform | Notes | |
| 46 | +|---------------------------------|----------------------------------------------| |
| 47 | +| amd64-macos-darwin-graal-latest | macOS on Intel CPUs running BigSur or newer. | |
| 48 | +| amd64-windows-msvc-graal-latest | Windows 11, Windows Server 2025, or newer. | |
| 49 | +| amd64-linux-glibc-oracle-21 | JDK 21 is tested without JIT compilation. | |
| 50 | +| aarch64-linux-glibc-oracle-21 | JDK 21 is tested without JIT compilation. | |
| 51 | +| aarch64-macos-darwin-oracle-21 | JDK 21 is tested without JIT compilation. | |
| 52 | +| amd64-macos-darwin-oracle-21 | JDK 21 is tested without JIT compilation. | |
| 53 | +| amd64-windows-msvc-oracle-21 | JDK 21 is tested without JIT compilation. | |
0 commit comments