Use MatchSpec to force blas from conda-forge

As it appears that `defaults` has added `blas` without a feature, the
`conda` solver appears to be prioritizing the removal of features over
channel priority. As a result, we leverage `MatchSpec` here to pin the
`blas` package to `conda-forge` and the `openblas` feature. This should
be respected by `conda` and thus avoid switching to the incompatible
`blas` package from `defaults`.
This commit is contained in:
John Kirkham
2018-06-02 12:59:10 -07:00
parent e1fee2107a
commit 06792d930f

View File

@@ -18,7 +18,7 @@ USER $NB_UID
# Remove pyqt and qt pulled in for matplotlib since we're only ever going to
# use notebook-friendly backends in these images
RUN conda install --quiet --yes \
'blas=1.1*=openblas' \
'conda-forge::blas=*=openblas' \
'ipywidgets=7.2*' \
'pandas=0.22*' \
'numexpr=2.6*' \