File tree Expand file tree Collapse file tree 4 files changed +14
-13
lines changed Expand file tree Collapse file tree 4 files changed +14
-13
lines changed Original file line number Diff line number Diff line change @@ -103,10 +103,11 @@ jobs:
103
103
include :
104
104
# 'pip' is the default
105
105
- cibw_build_frontend : pip
106
- # TODO: Remove this and installing build deps in cibw_before_build.sh
107
- # after NumPy can be built with a released Cython
106
+ # TODO: Remove this plus installing build deps in cibw_before_build.sh
107
+ # and test deps in cibw_before_test.sh after pandas can be built with a released NumPy/ Cython
108
108
- python : ["cp313t", "3.13"]
109
109
cibw_build_frontend : ' pip; args: --no-build-isolation'
110
+ # TODO: Build free-threaded wheels for Windows
110
111
exclude :
111
112
- buildplat : [windows-2022, win_amd64]
112
113
python : ["cp313t", "3.13"]
Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ before-build = "bash {package}/scripts/cibw_before_build.sh"
159
159
before-test = " bash {package}/scripts/cibw_before_test.sh"
160
160
161
161
[tool .cibuildwheel .windows ]
162
- before-build = " pip install delvewheel"
162
+ before-build = " pip install delvewheel && bash {package}/scripts/cibw_before_build.sh "
163
163
repair-wheel-command = " delvewheel repair -w {dest_dir} {wheel}"
164
164
165
165
[[tool .cibuildwheel .overrides ]]
Original file line number Diff line number Diff line change 1
- # TODO: delete along with enabling build isolation by unsetting
2
- # CIBW_BUILD_FRONTEND when scipy is buildable under free-threaded
3
- # python with a released version of cython
4
- FREE_THREADED_BUILD =" $( python -c " import sysconfig ; print(bool(sysconfig.get_config_var('Py_GIL_DISABLED')) )" ) "
5
- if [[ $FREE_THREADED_BUILD == " True " ]]; then
1
+ # TODO: Delete when there's PyPI NumPy/Cython releases the support Python 3.13.
2
+ # If free-threading support is not included in those releases, this script will have
3
+ # to whether this runs for a free-threaded build instead.
4
+ PYTHON_VERSION =" $( python -c " import sys ; print(f'{sys.version_info.major}{sys.version_info.minor}' )" ) "
5
+ if [[ $PYTHON_VERSION == " 313 " ]]; then
6
6
python -m pip install -U pip
7
7
python -m pip install -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy cython
8
8
python -m pip install ninja meson-python versioneer[toml]
Original file line number Diff line number Diff line change 1
- # TODO: delete along with enabling build isolation by unsetting
2
- # CIBW_BUILD_FRONTEND when scipy is buildable under free-threaded
3
- # python with a released version of cython
4
- FREE_THREADED_BUILD =" $( python -c " import sysconfig ; print(bool(sysconfig.get_config_var('Py_GIL_DISABLED')) )" ) "
5
- if [[ $FREE_THREADED_BUILD == " True " ]]; then
1
+ # TODO: Delete when there's PyPI NumPy/Cython releases the support Python 3.13.
2
+ # If free-threading support is not included in those releases, this script will have
3
+ # to whether this runs for a free-threaded build instead.
4
+ PYTHON_VERSION =" $( python -c " import sys ; print(f'{sys.version_info.major}{sys.version_info.minor}' )" ) "
5
+ if [[ $PYTHON_VERSION == " 313 " ]]; then
6
6
python -m pip install -U pip
7
7
python -m pip install -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy
8
8
fi
You can’t perform that action at this time.
0 commit comments