@@ -39,10 +39,10 @@ jobs:
3939 run : echo $CONDA/bin >> $GITHUB_PATH
4040 - name : Install conda-build
4141 run : conda install conda-build
42- - name : Build conda package with NumPy 2
42+ - name : Build conda package with NumPy 2.0
4343 run : |
4444 CHANNELS="-c conda-forge --override-channels"
45- VERSIONS="--python ${{ matrix.python }} --numpy 2"
45+ VERSIONS="--python ${{ matrix.python }} --numpy 2.3 "
4646 TEST="--no-test"
4747
4848 conda build \
@@ -137,9 +137,7 @@ jobs:
137137 activate-environment : build
138138 python-version : ${{ matrix.python }}
139139 channels : conda-forge,nodefaults
140-
141- - name : Remove defaults channel
142- run : conda config --remove channels defaults
140+ conda-remove-defaults : ' true'
143141
144142 - name : Install conda-build
145143 run : conda install -n base conda-build
@@ -159,7 +157,7 @@ jobs:
159157 - name : Build conda package with NumPy 2.0
160158 run : |
161159 conda activate
162- conda build --no-test --python ${{ matrix.python }} --numpy 2 -c conda-forge --override-channels conda-recipe-cf
160+ conda build --no-test --python ${{ matrix.python }} --numpy 2.3 -c conda-forge --override-channels conda-recipe-cf
163161
164162 - name : Store conda paths as envs
165163 shell : bash -l {0}
@@ -201,9 +199,7 @@ jobs:
201199 activate-environment : ${{ env.TEST_ENV_NAME }}
202200 python-version : ${{ matrix.python }}
203201 channels : conda-forge
204-
205- - name : Remove defaults channel
206- run : conda config --remove channels defaults
202+ conda-remove-defaults : ' true'
207203
208204 - name : Create conda channel with the artifact bit
209205 shell : cmd /C CALL {0}
0 commit comments