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
@@ -170,13 +181,13 @@ jobs:
170
181
shell : pwsh
171
182
run : |
172
183
$TST_CMD = @"
173
- python -m pip install hypothesis>=6.46.1 pytest>=7.3.2 pytest-xdist>=2.2.0;
184
+ python -m pip install hypothesis>=6.46.1 pytest>=7.3.2 pytest-xdist>=2.2.0 pytz<2024.2 ;
174
185
python -m pip install `$(Get-Item pandas\wheelhouse\*.whl);
175
186
python -c `'import pandas as pd; pd.test(extra_args=[`\"--no-strict-data-files`\", `\"-m not clipboard and not single_cpu and not slow and not network and not db`\"])`';
176
187
"@
177
188
# add rc to the end of the image name if the Python version is unreleased
178
- docker pull python:${{ matrix.python[1] == '3.12 ' && '3.12 -rc' || format('{0}-windowsservercore', matrix.python[1]) }}
179
- docker run --env PANDAS_CI='1' -v ${PWD}:C:\pandas python:${{ matrix.python[1] == '3.12 ' && '3.12 -rc' || format('{0}-windowsservercore', matrix.python[1]) }} powershell -Command $TST_CMD
189
+ docker pull python:${{ matrix.python[1] == '3.13 ' && '3.13 -rc' || format('{0}-windowsservercore', matrix.python[1]) }}
190
+ docker run --env PANDAS_CI='1' -v ${PWD}:C:\pandas python:${{ matrix.python[1] == '3.13 ' && '3.13 -rc' || format('{0}-windowsservercore', matrix.python[1]) }} powershell -Command $TST_CMD
180
191
181
192
- uses : actions/upload-artifact@v4
182
193
with :
0 commit comments