@@ -102,9 +102,7 @@ jobs:
102102 python : [["cp310", "3.10"], ["cp311", "3.11"], ["cp312", "3.12"], ["cp313", "3.13"], ["cp313t", "3.13"]]
103103 include :
104104 # TODO: Remove this plus installing build deps in cibw_before_build.sh
105- # and test deps in cibw_before_test.sh after pandas can be built with a released NumPy/Cython
106- - python : ["cp313", "3.13"]
107- cibw_build_frontend : ' pip; args: --no-build-isolation'
105+ # after pandas can be built with a released NumPy/Cython
108106 - python : ["cp313t", "3.13"]
109107 cibw_build_frontend : ' pip; args: --no-build-isolation'
110108 # Build Pyodide wheels and upload them to Anaconda.org
@@ -113,10 +111,6 @@ jobs:
113111 - buildplat : [ubuntu-22.04, pyodide_wasm32]
114112 python : ["cp312", "3.12"]
115113 cibw_build_frontend : ' build'
116- # TODO: Build free-threaded wheels for Windows
117- exclude :
118- - buildplat : [windows-2022, win_amd64]
119- python : ["cp313t", "3.13"]
120114
121115 env :
122116 IS_PUSH : ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') }}
@@ -158,7 +152,7 @@ jobs:
158152 run : echo "sdist_name=$(cd ./dist && ls -d */)" >> "$GITHUB_ENV"
159153
160154 - name : Build wheels
161- uses : pypa/cibuildwheel@v2.20.0
155+ uses : pypa/cibuildwheel@v2.21.3
162156 with :
163157 package-dir : ./dist/${{ startsWith(matrix.buildplat[1], 'macosx') && env.sdist_name || needs.build_sdist.outputs.sdist_file }}
164158 env :
@@ -167,7 +161,7 @@ jobs:
167161 CIBW_PLATFORM : ${{ matrix.buildplat[1] == 'pyodide_wasm32' && 'pyodide' || 'auto' }}
168162
169163 - name : Set up Python
170- uses : mamba-org/setup-micromamba@v1
164+ uses : mamba-org/setup-micromamba@v2
171165 with :
172166 environment-name : wheel-env
173167 # Use a fixed Python, since we might have an unreleased Python not
@@ -183,22 +177,6 @@ jobs:
183177 shell : bash -el {0}
184178 run : for whl in $(ls wheelhouse); do wheel unpack wheelhouse/$whl -d /tmp; done
185179
186- # Testing on windowsservercore instead of GHA runner to fail on missing DLLs
187- - name : Test Windows Wheels
188- if : ${{ matrix.buildplat[1] == 'win_amd64' }}
189- shell : pwsh
190- # TODO: Remove NumPy nightly install when there's a 3.13 wheel on PyPI
191- run : |
192- $TST_CMD = @"
193- python -m pip install hypothesis>=6.84.0 pytest>=7.3.2 pytest-xdist>=3.4.0;
194- ${{ matrix.python[1] == '3.13' && 'python -m pip install -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy;' }}
195- python -m pip install `$(Get-Item pandas\wheelhouse\*.whl);
196- 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`\"])`';
197- "@
198- # add rc to the end of the image name if the Python version is unreleased
199- docker pull python:${{ matrix.python[1] == '3.13' && '3.13-rc' || format('{0}-windowsservercore', matrix.python[1]) }}
200- 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
201-
202180 - uses : actions/upload-artifact@v4
203181 with :
204182 name : ${{ matrix.python[0] }}-${{ matrix.buildplat[1] }}
0 commit comments