File tree 3 files changed +6
-17
lines changed
3 files changed +6
-17
lines changed Original file line number Diff line number Diff line change 72
72
no_output_timeout : 30m # Sometimes the tests won't generate any output, make sure the job doesn't get killed by that
73
73
command : |
74
74
pip3 install cibuildwheel==2.15.0
75
- # When this is a nightly wheel build, allow picking up NumPy 2.0 dev wheels:
76
- if [[ "$IS_SCHEDULE_DISPATCH" == "true" || "$IS_PUSH" != 'true' ]]; then
77
- export CIBW_ENVIRONMENT="PIP_EXTRA_INDEX_URL=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple"
78
- fi
79
75
cibuildwheel --prerelease-pythons --output-dir wheelhouse
80
76
81
77
environment :
Original file line number Diff line number Diff line change @@ -148,18 +148,6 @@ jobs:
148
148
CIBW_PRERELEASE_PYTHONS : True
149
149
CIBW_BUILD : ${{ matrix.python[0] }}-${{ matrix.buildplat[1] }}
150
150
151
- - name : Build nightly wheels (with NumPy pre-release)
152
- if : ${{ (env.IS_SCHEDULE_DISPATCH == 'true' && env.IS_PUSH != 'true') }}
153
-
154
- with :
155
- package-dir : ./dist/${{ startsWith(matrix.buildplat[1], 'macosx') && env.sdist_name || needs.build_sdist.outputs.sdist_file }}
156
- env :
157
- # The nightly wheels should be build witht he NumPy 2.0 pre-releases
158
- # which requires the additional URL.
159
- CIBW_ENVIRONMENT : PIP_EXTRA_INDEX_URL=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
160
- CIBW_PRERELEASE_PYTHONS : True
161
- CIBW_BUILD : ${{ matrix.python[0] }}-${{ matrix.buildplat[1] }}
162
-
163
151
- name : Set up Python
164
152
uses : mamba-org/setup-micromamba@v1
165
153
with :
Original file line number Diff line number Diff line change @@ -152,6 +152,9 @@ setup = ['--vsenv'] # For Windows
152
152
skip = " cp36-* cp37-* cp38-* pp* *_i686 *_ppc64le *_s390x"
153
153
build-verbosity = " 3"
154
154
environment = {LDFLAGS =" -Wl,--strip-all" }
155
+ # TODO: remove this once numpy 2.0 proper releases
156
+ # and specify numpy 2.0 as a dependency in [build-system] requires in pyproject.toml
157
+ before-build = " pip install numpy==2.0.0rc1"
155
158
test-requires = " hypothesis>=6.46.1 pytest>=7.3.2 pytest-xdist>=2.2.0"
156
159
test-command = """
157
160
PANDAS_CI='1' python -c 'import pandas as pd; \
@@ -160,7 +163,9 @@ test-command = """
160
163
"""
161
164
162
165
[tool .cibuildwheel .windows ]
163
- before-build = " pip install delvewheel"
166
+ # TODO: remove this once numpy 2.0 proper releases
167
+ # and specify numpy 2.0 as a dependency in [build-system] requires in pyproject.toml
168
+ before-build = " pip install delvewheel numpy==2.0.0rc1"
164
169
repair-wheel-command = " delvewheel repair -w {dest_dir} {wheel}"
165
170
166
171
[[tool .cibuildwheel .overrides ]]
You can’t perform that action at this time.
0 commit comments