2020 runs-on : ubuntu-latest
2121 strategy :
2222 matrix :
23- python : ['3.9', '3. 10', '3.11', '3.12', '3.13']
23+ python : ['3.10', '3.11', '3.12', '3.13']
2424 steps :
2525 - name : Cancel Previous Runs
2626 uses : styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
6666 conda-recipe
6767
6868 - name : Upload artifact
69- uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
69+ uses : actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
7070 with :
7171 name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
7272 path : /usr/share/miniconda/conda-bld/linux-64/${{ env.PACKAGE_NAME }}-*.conda
7777
7878 strategy :
7979 matrix :
80- python : ['3.9', '3. 10', '3.11', '3.12', '3.13']
80+ python : ['3.10', '3.11', '3.12', '3.13']
8181 experimental : [false]
8282 runner : [ubuntu-latest]
8383 continue-on-error : ${{ matrix.experimental }}
8686
8787 steps :
8888 - name : Download artifact
89- uses : actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5 .0.0
89+ uses : actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6 .0.0
9090 with :
9191 name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
9292
@@ -141,12 +141,7 @@ jobs:
141141 run : |
142142 CHANNELS="-c $GITHUB_WORKSPACE/channel ${{ env.CHANNELS }}"
143143 conda create -n ${{ env.TEST_ENV_NAME }} $PACKAGE_NAME=${{ env.PACKAGE_VERSION }} python=${{ matrix.python }} pytest $CHANNELS
144- if [[ "${{ matrix.python }}" != 3.9* ]]; then
145- # Intel channel only has scipy=1.10 for Python 3.9, which needs mkl<2025
146- # while scipy needs to install numpy and mkl_random and mkl_random-1.2.11 requires mkl>=2025
147- # so avoid installing scipy for Python 3.9 which means third_party/scipy tests will not run
148- conda install -n ${{ env.TEST_ENV_NAME }} "scipy>=1.10" $CHANNELS
149- fi
144+ conda install -n ${{ env.TEST_ENV_NAME }} "scipy>=1.10" $CHANNELS
150145 # Test installed packages
151146 conda list -n ${{ env.TEST_ENV_NAME }}
152147
@@ -161,7 +156,7 @@ jobs:
161156
162157 strategy :
163158 matrix :
164- python : ['3.9', '3. 10', '3.11', '3.12', '3.13']
159+ python : ['3.10', '3.11', '3.12', '3.13']
165160 steps :
166161 - name : Cancel Previous Runs
167162 uses : styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
@@ -211,7 +206,7 @@ jobs:
211206 echo "CONDA_BLD=$CONDA/conda-bld/win-64/" | tr "\\\\" '/' >> $GITHUB_ENV
212207
213208 - name : Upload artifact
214- uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
209+ uses : actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
215210 with :
216211 name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
217212 path : ${{ env.CONDA_BLD }}${{ env.PACKAGE_NAME }}-*.conda
@@ -225,7 +220,7 @@ jobs:
225220
226221 strategy :
227222 matrix :
228- python : ['3.9', '3. 10', '3.11', '3.12', '3.13']
223+ python : ['3.10', '3.11', '3.12', '3.13']
229224 experimental : [false]
230225 runner : [windows-latest]
231226 continue-on-error : ${{ matrix.experimental }}
@@ -235,7 +230,7 @@ jobs:
235230
236231 steps :
237232 - name : Download artifact
238- uses : actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5 .0.0
233+ uses : actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6 .0.0
239234 with :
240235 name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
241236
@@ -315,10 +310,8 @@ jobs:
315310 )
316311 SET "TEST_DEPENDENCIES=pytest"
317312 conda install -n ${{ env.TEST_ENV_NAME }} ${{ env.PACKAGE_NAME }}=%PACKAGE_VERSION% %TEST_DEPENDENCIES% python=${{ matrix.python }} -c ${{ env.workdir }}/channel ${{ env.CHANNELS }}
318- if ("${{ matrix.python }}" -ne "3.9") {
319- conda install -n ${{ env.TEST_ENV_NAME }} scipy -c ${{ env.workdir }}/channel ${{ env.CHANNELS }}
313+ conda install -n ${{ env.TEST_ENV_NAME }} scipy -c ${{ env.workdir }}/channel ${{ env.CHANNELS }}
320314 }
321-
322315 - name : Report content of test environment
323316 shell : cmd /C CALL {0}
324317 run : |
0 commit comments