1- # b/157908450 set to latest once numba 0.49.x fixes performance regression for datashader.
2- ARG BASE_TAG=m46
1+ ARG BASE_TAG=m61
32ARG TENSORFLOW_VERSION=2.4.0
43
5- FROM gcr.io/kaggle-images/python-tensorflow-whl:${TENSORFLOW_VERSION}-py37 as tensorflow_whl
4+ FROM gcr.io/kaggle-images/python-tensorflow-whl:${TENSORFLOW_VERSION}-py37-2 as tensorflow_whl
65FROM gcr.io/deeplearning-platform-release/base-cpu:${BASE_TAG}
76
87ADD clean-layer.sh /tmp/clean-layer.sh
@@ -210,8 +209,6 @@ RUN pip install mpld3 && \
210209 pip install fbprophet && \
211210 pip install holoviews && \
212211 pip install geoviews && \
213- # b/177279594 umap-learn 0.5.0 is causing a llvmlite upgrade.
214- pip install umap-learn==0.4.6 && \
215212 pip install hypertools && \
216213 pip install py_stringsimjoin && \
217214 pip install mlens && \
@@ -320,8 +317,7 @@ RUN pip install bleach && \
320317 pip install pandocfilters && \
321318 pip install pexpect && \
322319 pip install pickleshare && \
323- # b/160263325: the version included in the m46 base image has a known issue.
324- pip install --upgrade Pillow && \
320+ pip install Pillow && \
325321 # Install openslide and its python binding
326322 apt-get install -y openslide-tools && \
327323 pip install openslide-python && \
@@ -373,7 +369,7 @@ RUN pip install flashtext && \
373369 pip install shap && \
374370 pip install ray && \
375371 pip install gym && \
376- # b/167220714 unpin once matplotlib >= 3.3 is installed in the base image .
372+ # b/167268016 tensorforce 0.6.6 has an explicit dependency on tensorflow 2.3.1 which is causing a downgrade .
377373 pip install tensorforce==0.5.5 && \
378374 pip install pyarabic && \
379375 pip install pandasql && \
@@ -392,8 +388,7 @@ RUN pip install flashtext && \
392388 pip install plotly_express && \
393389 pip install albumentations && \
394390 pip install catalyst && \
395- # b/162850432 prevent matplotlib upgrade.
396- pip install osmnx==0.15.1 && \
391+ pip install osmnx && \
397392 apt-get -y install libspatialindex-dev && \
398393 pip install pytorch-ignite && \
399394 pip install qgrid && \
@@ -478,9 +473,7 @@ ADD patches/imagemagick-policy.xml /etc/ImageMagick-6/policy.xml
478473# Disable unnecessary jupyter extensions
479474RUN jupyter-nbextension disable nb_conda --py --sys-prefix && \
480475 jupyter-serverextension disable nb_conda --py --sys-prefix && \
481- python -m nb_conda_kernels.install --disable && \
482- jupyter-nbextension disable nbpresent --py --sys-prefix && \
483- jupyter-serverextension disable nbpresent --py --sys-prefix
476+ python -m nb_conda_kernels.install --disable
484477
485478# Set backend for matplotlib
486479ENV MPLBACKEND "agg"
0 commit comments