From 06792d930fef7986558f8e6ff6fbb29bc801c59e Mon Sep 17 00:00:00 2001 From: John Kirkham Date: Sat, 2 Jun 2018 12:59:10 -0700 Subject: [PATCH] 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`. --- scipy-notebook/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scipy-notebook/Dockerfile b/scipy-notebook/Dockerfile index dbbc2519..6c04e233 100644 --- a/scipy-notebook/Dockerfile +++ b/scipy-notebook/Dockerfile @@ -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*' \