Skip to content

Commit 0f2eebb

Browse files
committed
CI: skip macOS x86-64 cp313t, try to get cp313 on macOS/Windows to build
1 parent ec00578 commit 0f2eebb

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/wheel_tests_and_release.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,9 @@ jobs:
124124
cibw_arch: "x86_64"
125125
- os: macos-13
126126
cibw_arch: "arm64"
127+
- os: macos-13
128+
cibw_arch: "x86_64"
129+
cibw_python: "cp313t"
127130
steps:
128131
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
129132
with:
@@ -147,7 +150,7 @@ jobs:
147150
echo "CIBW_BUILD_FRONTEND=$NO_BUILD_ISOLATION" >> "$GITHUB_ENV"
148151
149152
- name: Build wheels for CPython (macOS) (x86_64)
150-
if: matrix.cibw_arch == 'x86_64' && ${{ matrix.cibw_python }} != "cp313t"
153+
if: matrix.cibw_arch == 'x86_64'
151154
uses: pypa/cibuildwheel@bd033a44476646b606efccdd5eed92d5ea1d77ad # v2.20.0
152155
with:
153156
output-dir: dist
@@ -164,6 +167,7 @@ jobs:
164167
CIBW_BUILD: ${{ matrix.cibw_python }}-*
165168
CIBW_ARCHS_MACOS: ${{ matrix.cibw_arch }}
166169
CIBW_FREE_THREADED_SUPPORT: True
170+
CIBW_PRERELEASE_PYTHONS: True
167171

168172
- uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
169173
with:
@@ -209,6 +213,7 @@ jobs:
209213
env:
210214
CIBW_BUILD: ${{ matrix.cibw_python }}-*
211215
CIBW_ARCHS_WINDOWS: ${{ matrix.cibw_arch }}
216+
CIBW_PRERELEASE_PYTHONS: True
212217

213218
- uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
214219
with:

0 commit comments

Comments
 (0)