|
99 | 99 | - [macos-14, macosx_arm64]
|
100 | 100 | - [windows-2022, win_amd64]
|
101 | 101 | # TODO: support PyPy?
|
102 |
| - python: [["cp39", "3.9"], ["cp310", "3.10"], ["cp311", "3.11"], ["cp312", "3.12"]] |
| 102 | + python: [["cp39", "3.9"], ["cp310", "3.10"], ["cp311", "3.11"], ["cp312", "3.12"], ["cp313", "3.13"], ["cp313t", "3.13"]] |
| 103 | + include: |
| 104 | + # TODO: Remove this plus installing build deps in cibw_before_build.sh |
| 105 | + # after pandas can be built with a released NumPy/Cython |
| 106 | + - python: ["cp313t", "3.13"] |
| 107 | + cibw_build_frontend: 'pip; args: --no-build-isolation' |
| 108 | + # TODO: Build free-threaded wheels for Windows |
| 109 | + exclude: |
| 110 | + - buildplat: [windows-2022, win_amd64] |
| 111 | + python: ["cp313t", "3.13"] |
| 112 | + |
103 | 113 | env:
|
104 | 114 | IS_PUSH: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') }}
|
105 | 115 | IS_SCHEDULE_DISPATCH: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}
|
@@ -140,12 +150,13 @@ jobs:
|
140 | 150 | run: echo "sdist_name=$(cd ./dist && ls -d */)" >> "$GITHUB_ENV"
|
141 | 151 |
|
142 | 152 | - name: Build wheels
|
143 |
| - uses: pypa/cibuildwheel@v2.17.0 |
| 153 | + uses: pypa/cibuildwheel@v2.20.0 |
144 | 154 | with:
|
145 | 155 | package-dir: ./dist/${{ startsWith(matrix.buildplat[1], 'macosx') && env.sdist_name || needs.build_sdist.outputs.sdist_file }}
|
146 | 156 | env:
|
147 | 157 | CIBW_PRERELEASE_PYTHONS: True
|
148 | 158 | CIBW_BUILD: ${{ matrix.python[0] }}-${{ matrix.buildplat[1] }}
|
| 159 | + CIBW_BUILD_FRONTEND: ${{ matrix.cibw_build_frontend || 'pip' }} |
149 | 160 |
|
150 | 161 | - name: Set up Python
|
151 | 162 | uses: mamba-org/setup-micromamba@v1
|
|
0 commit comments