File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -91,11 +91,20 @@ jobs:
91
91
runs-on : ${{ matrix.os }}
92
92
env :
93
93
CIBW_BEFORE_BUILD : >-
94
- pip install numpy>=1.25 &&
95
94
rm -rf {package}/build
96
95
CIBW_BEFORE_BUILD_WINDOWS : >-
97
- pip install delvewheel numpy>=1.25 &&
96
+ pip install delvewheel &&
98
97
rm -rf {package}/build
98
+ # Live on the edge when building on main or a PR against main since
99
+ # these wheels are also used for nightlies and NumPy 2.0 transition
100
+ # requires using the NumPy 2.0 nightlies for compatibility.
101
+ # If using all `--pre` releases creates issues, the NumPy wheel can be
102
+ # istalled more targeted.
103
+ CIBW_BUILD_FRONTEND : >-
104
+ ${{ (((github.event_name == 'push' && github.ref == 'refs/heads/main') ||
105
+ (github.event_name == 'pull_request' && github.base_ref == 'main')) &&
106
+ 'pip; args: --pre --extra-index-url "https://pypi.anaconda.org/scientific-python-nightly-wheels/simple"') ||
107
+ 'build' }}
99
108
CIBW_REPAIR_WHEEL_COMMAND_WINDOWS : >-
100
109
delvewheel repair -w {dest_dir} {wheel}
101
110
CIBW_AFTER_BUILD : >-
You can’t perform that action at this time.
0 commit comments