@@ -132,7 +132,7 @@ jobs:
132132 path : slycot-wheels
133133
134134 build-conda :
135- name : Build conda Py${{ matrix.python }} , ${{ matrix.os }}
135+ name : Build conda, ${{ matrix.os }}
136136 runs-on : ${{ matrix.os }}-latest
137137 needs : build-sdist
138138 strategy :
@@ -143,7 +143,7 @@ jobs:
143143 - ' macos'
144144 - ' windows'
145145 python :
146- - ' 3.9 '
146+ # this is not the packaged version, just the version conda-build runs on.
147147 - ' 3.11'
148148
149149 steps :
@@ -167,14 +167,14 @@ jobs:
167167 shell : bash -l {0}
168168 run : |
169169 set -e
170- numpyversion=$(python -c 'import numpy; print(numpy.version.version)')
171- conda mambabuild --python "${{ matrix.python }}" --numpy $numpyversion conda-recipe
170+ conda mambabuild conda-recipe
172171 # preserve directory structure for custom conda channel
173172 find "${CONDA_PREFIX}/conda-bld" -maxdepth 2 -name 'slycot*.tar.bz2' | while read -r conda_pkg; do
174173 conda_platform=$(basename $(dirname "${conda_pkg}"))
175174 mkdir -p "slycot-conda-pkgs/${conda_platform}"
176175 cp "${conda_pkg}" "slycot-conda-pkgs/${conda_platform}/"
177176 done
177+ conda index --no-progress ./slycot-conda-pkgs
178178 - name : Save to local conda pkg channel
179179 uses : actions/upload-artifact@v3
180180 with :
@@ -357,7 +357,6 @@ jobs:
357357 echo "libblas * *mkl" >> $CONDA_PREFIX/conda-meta/pinned
358358 ;;
359359 esac
360- conda index --no-progress ./slycot-conda-pkgs
361360 mamba install -c ./slycot-conda-pkgs slycot
362361 conda list
363362 - name : Slycot and python-control tests
0 commit comments