Skip to content

Commit 4579b88

Browse files
[backport 2.3.x] DEPS: add Python 3.14 and 3.14t wheel builds (#62318) (#62394)
Co-authored-by: Nathan Goldbaum <[email protected]>
1 parent 34a69a2 commit 4579b88

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/workflows/wheels.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,13 @@ jobs:
101101
- [macos-14, macosx_arm64]
102102
- [windows-2022, win_amd64]
103103
# TODO: support PyPy?
104-
python: [["cp39", "3.9"], ["cp310", "3.10"], ["cp311", "3.11"], ["cp312", "3.12"], ["cp313", "3.13"], ["cp313t", "3.13"]]
104+
python: [["cp39", "3.9"], ["cp310", "3.10"], ["cp311", "3.11"], ["cp312", "3.12"], ["cp313", "3.13"], ["cp313t", "3.13"], ["cp314", "3.14"], ["cp314t", "3.14"]]
105105
# TODO: Build free-threaded wheels for Windows
106106
exclude:
107107
- buildplat: [windows-2022, win_amd64]
108108
python: ["cp313t", "3.13"]
109+
- buildplat: [windows-2022, win_amd64]
110+
python: ["cp314t", "3.14"]
109111

110112
env:
111113
IS_PUSH: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') }}
@@ -147,7 +149,7 @@ jobs:
147149
run: echo "sdist_name=$(cd ./dist && ls -d */)" >> "$GITHUB_ENV"
148150

149151
- name: Build wheels
150-
uses: pypa/cibuildwheel@v2.23.3
152+
uses: pypa/cibuildwheel@v3.1.4
151153
with:
152154
package-dir: ./dist/${{ startsWith(matrix.buildplat[1], 'macosx') && env.sdist_name || needs.build_sdist.outputs.sdist_file }}
153155
env:
@@ -182,8 +184,8 @@ jobs:
182184
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`\"])`';
183185
"@
184186
# add rc to the end of the image name if the Python version is unreleased
185-
docker pull python:${{ matrix.python[1] == '3.13' && '3.13-rc' || format('{0}-windowsservercore', matrix.python[1]) }}
186-
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
187+
docker pull python:${{ matrix.python[1] == '3.14' && '3.14-rc' || format('{0}-windowsservercore', matrix.python[1]) }}
188+
docker run --env PANDAS_CI='1' -v ${PWD}:C:\pandas python:${{ matrix.python[1] == '3.14' && '3.14-rc' || format('{0}-windowsservercore', matrix.python[1]) }} powershell -Command $TST_CMD
187189
188190
- uses: actions/upload-artifact@v4
189191
with:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ parentdir_prefix = "pandas-"
151151
setup = ['--vsenv'] # For Windows
152152

153153
[tool.cibuildwheel]
154-
skip = "cp36-* cp37-* cp38-* pp* *_i686 *_ppc64le *_s390x"
154+
skip = "cp38-* *_i686 *_ppc64le *_s390x"
155155
build-verbosity = "3"
156156
environment = {LDFLAGS="-Wl,--strip-all"}
157157
# pytz 2024.2 causing some failures

0 commit comments

Comments
 (0)