File tree Expand file tree Collapse file tree 3 files changed +6
-17
lines changed Expand file tree Collapse file tree 3 files changed +6
-17
lines changed Original file line number Diff line number Diff line change 7272 no_output_timeout : 30m # Sometimes the tests won't generate any output, make sure the job doesn't get killed by that
7373 command : |
7474 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
7975 cibuildwheel --prerelease-pythons --output-dir wheelhouse
8076
8177 environment :
Original file line number Diff line number Diff line change @@ -147,18 +147,6 @@ jobs:
147147 CIBW_PRERELEASE_PYTHONS : True
148148 CIBW_BUILD : ${{ matrix.python[0] }}-${{ matrix.buildplat[1] }}
149149
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-
162150 - name : Set up Python
163151 uses : mamba-org/setup-micromamba@v1
164152 with :
Original file line number Diff line number Diff line change @@ -153,6 +153,9 @@ setup = ['--vsenv'] # For Windows
153153skip = " cp36-* cp37-* cp38-* pp* *_i686 *_ppc64le *_s390x"
154154build-verbosity = " 3"
155155environment = {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"
156159test-requires = " hypothesis>=6.46.1 pytest>=7.3.2 pytest-xdist>=2.2.0"
157160test-command = """
158161 PANDAS_CI='1' python -c 'import pandas as pd; \
@@ -161,7 +164,9 @@ test-command = """
161164 """
162165
163166[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"
165170repair-wheel-command = " delvewheel repair -w {dest_dir} {wheel}"
166171
167172[[tool .cibuildwheel .overrides ]]
You can’t perform that action at this time.
0 commit comments