@@ -429,11 +429,10 @@ jobs:
429429 python_version : pypy-3.10
430430 - target : x86
431431 python_version : pypy-3.11
432- - target : x86
433- python_version : 3.13t
434432 steps :
435433 - uses : actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac
436434 - uses : actions/setup-python@v5
435+ if : matrix.target != 'aarch64'
437436 with :
438437 python-version : ${{ matrix.python_version }}
439438 architecture : ${{ matrix.target == 'x86' && 'x86' || 'x64' }}
@@ -443,26 +442,25 @@ jobs:
443442 - name : Add Ninja (aarch64 build requirement)
444443 if : matrix.target == 'aarch64'
445444 run : choco install ninja -y
446- - name : Build wheels (workaround 3.13t arm64)
447- if : matrix.python_version == '3.13t' && matrix.target == 'aarch64'
445+ - name : Build wheels
448446 uses : PyO3/maturin-action@v1
447+ if : matrix.target != 'aarch64'
449448 env :
450449 XWIN_VERSION : 16 # fix for "no cab file specified by MSI" ...?
451450 UNSAFE_PYO3_SKIP_VERSION_CHECK : 1
452- PYO3_CROSS : 1
453451 with :
454452 target : ${{ matrix.target }}
455- args : --release --out dist -i 3.13t
453+ args : --release --out dist -i ${{ matrix.python_version }}
456454 sccache : ' true'
457- - name : Build wheels (normal)
458- if : matrix.python_version != '3.13t' || matrix.target == 'x64'
455+ - name : Build wheels (force CROSS aarch64)
459456 uses : PyO3/maturin-action@v1
457+ if : matrix.target == 'aarch64'
460458 env :
461459 XWIN_VERSION : 16 # fix for "no cab file specified by MSI" ...?
462- UNSAFE_PYO3_SKIP_VERSION_CHECK : 1
460+ PYO3_CROSS : 1
463461 with :
464462 target : ${{ matrix.target }}
465- args : --release --out dist
463+ args : --release --out dist -i 3.13t
466464 sccache : ' true'
467465 - name : Upload wheels
468466 uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1
0 commit comments