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 @@ -147,18 +147,6 @@ jobs:
147
147
CIBW_PRERELEASE_PYTHONS : True
148
148
CIBW_BUILD : ${{ matrix.python[0] }}-${{ matrix.buildplat[1] }}
149
149
150
- - name : Build nightly wheels (with NumPy pre-release)
151
- if : ${{ (env.IS_SCHEDULE_DISPATCH == 'true' && env.IS_PUSH != 'true') }}
152
-
153
- with :
154
- package-dir : ./dist/${{ startsWith(matrix.buildplat[1], 'macosx') && env.sdist_name || needs.build_sdist.outputs.sdist_file }}
155
- env :
156
- # The nightly wheels should be build witht he NumPy 2.0 pre-releases
157
- # which requires the additional URL.
158
- CIBW_ENVIRONMENT : PIP_EXTRA_INDEX_URL=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
159
- CIBW_PRERELEASE_PYTHONS : True
160
- CIBW_BUILD : ${{ matrix.python[0] }}-${{ matrix.buildplat[1] }}
161
-
162
150
- name : Set up Python
163
151
uses : mamba-org/setup-micromamba@v1
164
152
with :
Original file line number Diff line number Diff line change @@ -153,6 +153,9 @@ setup = ['--vsenv'] # For Windows
153
153
skip = " cp36-* cp37-* cp38-* pp* *_i686 *_ppc64le *_s390x"
154
154
build-verbosity = " 3"
155
155
environment = {LDFLAGS =" -Wl,--strip-all" }
156
+ # TODO: remove this once numpy 2.0 proper releases
157
+ # and specify numpy 2.0 as a dependency in [build-system] requires in pyproject.toml
158
+ before-build = " pip install numpy==2.0.0rc1"
156
159
test-requires = " hypothesis>=6.46.1 pytest>=7.3.2 pytest-xdist>=2.2.0"
157
160
test-command = """
158
161
PANDAS_CI='1' python -c 'import pandas as pd; \
@@ -161,7 +164,9 @@ test-command = """
161
164
"""
162
165
163
166
[tool .cibuildwheel .windows ]
164
- before-build = " pip install delvewheel"
167
+ # TODO: remove this once numpy 2.0 proper releases
168
+ # and specify numpy 2.0 as a dependency in [build-system] requires in pyproject.toml
169
+ before-build = " pip install delvewheel numpy==2.0.0rc1"
165
170
repair-wheel-command = " delvewheel repair -w {dest_dir} {wheel}"
166
171
167
172
[[tool .cibuildwheel .overrides ]]
You can’t perform that action at this time.
0 commit comments