File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -182,6 +182,30 @@ jobs:
182182 fi
183183 echo "CIBW_REPAIR_WHEEL_COMMAND_MACOS=$CIBW" >> "$GITHUB_ENV"
184184
185+ - name : Inject environment variable for python dev version
186+ if : matrix.python[1] == '3.13'
187+ shell : bash
188+ run : |
189+ # For dev versions of python need to use wheels from scientific-python-nightly-wheels
190+ # When the python version is released please comment out this section, but do not remove
191+ # (there will soon be another dev version to target).
192+ DEPS0="pip install -U --pre numpy>=2.1.0rc1"
193+ DEPS1="pip install ninja meson-python pybind11 pythran cython"
194+
195+ CIBW="$DEPS0;$DEPS1;bash {project}/tools/wheels/cibw_before_build_linux.sh {project}"
196+ echo "CIBW_BEFORE_BUILD_LINUX=$CIBW" >> "$GITHUB_ENV"
197+
198+ CIBW="$DEPS0 && $DEPS1 && bash {project}/tools/wheels/cibw_before_build_win.sh {project}"
199+ echo "CIBW_BEFORE_BUILD_WINDOWS=$CIBW" >> "$GITHUB_ENV"
200+
201+ CIBW="$DEPS0;$DEPS1;bash {project}/tools/wheels/cibw_before_build_macos.sh {project}"
202+ echo "CIBW_BEFORE_BUILD_MACOS=$CIBW" >> "$GITHUB_ENV"
203+
204+ echo "CIBW_BEFORE_TEST=$DEPS0" >> "$GITHUB_ENV"
205+
206+ CIBW="pip; args: --no-build-isolation"
207+ echo "CIBW_BUILD_FRONTEND=$CIBW" >> "$GITHUB_ENV"
208+
185209 - name : Build wheels
186210 uses : pypa/cibuildwheel@v2.20.0
187211 env :
You can’t perform that action at this time.
0 commit comments