Repository navigation
Commit fed9fc3
authored
Skip recursive type alias test on Windows ARM64 with Python 3.12 (#1210)
Since 26 September, the Windows ARM64 wheel job has run on the Visual
Studio 2026 image of the `windows-11-arm` label
(actions/runner-images#14602) and has failed every time. On Python 3.12,
`test_recursive_typealias_errors` overflows the C stack before
`RecursionError` is raised, and the job ends before the 3.13 and later
wheels are built and tested.
On Windows, Python 3.12 has a C recursion limit of 3000 with a 2 MB
stack in `python.exe`. In CPython 3.13 the limit was lowered to 1000 on
Windows ARM64 after a stack overflow on the CPython ARM64 Windows
buildbot (python/cpython#117008); 3.12 still uses 3000. In the same
jobs, the other tests that reach the recursion limit on 3.12 passed
wherever they ran. The 3.13 and later wheels have not been built or
tested on the new image yet, and part of the 3.12 suite has not run
there either, so the CI run of this PR is the first check for them.
With this change the test is skipped on Windows ARM64 with Python 3.12,
like the existing `emscripten_stack_limited` skip for Pyodide. In that
combination, analyzing a recursive type alias (which msgspec does not
support) can still end in a stack overflow instead of a
`RecursionError`.
Co-authored-by: Tseluiko Aleksandr <[email protected]>1 parent e7552f0 commit fed9fc3
2 files changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
4746 | 4747 | | |
4747 | 4748 | | |
4748 | 4749 | | |
| 4750 | + | |
4749 | 4751 | | |
4750 | 4752 | | |
4751 | 4753 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
15 | 23 | | |
16 | 24 | | |
17 | 25 | | |
| |||
0 commit comments