Skip to content

Commit 962a662

Browse files
committed
CI Maybe fix Windows free-threaded
1 parent 1bcdfd0 commit 962a662

File tree

3 files changed

+2
-10
lines changed

3 files changed

+2
-10
lines changed

pyproject.toml

-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@ before-build = "PACKAGE_DIR={package} bash {package}/scripts/cibw_before_build.s
161161

162162
[tool.cibuildwheel.windows]
163163
before-build = "pip install delvewheel && bash {package}/scripts/cibw_before_build_windows.sh"
164-
before-test = "bash {package}/scripts/cibw_before_test_windows.sh"
165164
test-command = """
166165
set PANDAS_CI='1' && \
167166
python -c "import pandas as pd; \

scripts/cibw_before_build_windows.sh

+2-3
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,9 @@ for file in $PACKAGE_DIR/LICENSES/*; do
55
done
66

77
# TODO: Delete when there's a PyPI Cython release that supports free-threaded Python 3.13
8-
# and a NumPy Windows wheel for the free-threaded build on PyPI.
98
FREE_THREADED_BUILD="$(python -c"import sysconfig; print(bool(sysconfig.get_config_var('Py_GIL_DISABLED')))")"
109
if [[ $FREE_THREADED_BUILD == "True" ]]; then
1110
python -m pip install -U pip
12-
python -m pip install -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy cython
13-
python -m pip install ninja meson-python versioneer[toml]
11+
python -m pip install -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple cython
12+
python -m pip install ninja meson-python versioneer[toml] numpy
1413
fi

scripts/cibw_before_test_windows.sh

-6
This file was deleted.

0 commit comments

Comments
 (0)