From 3290b66cb300348dbc7632fca561ba0b18e7b418 Mon Sep 17 00:00:00 2001 From: Vincent Roseberry Date: Wed, 22 Jul 2020 16:46:43 +0000 Subject: [PATCH] Pin pysal to 2.1.0 2.2.0 uses the network to download dataset on import which is causing the unit test to fail (network access not permitted). BUG=161473620 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8037a3cc..d6b0604e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -43,8 +43,8 @@ RUN conda config --add channels conda-forge && \ conda config --add channels pytorch && \ conda config --add channels rapidsai && \ # ^ rapidsai is the highest priority channel, default lowest, conda-forge 2nd lowest. - # b/161473620 pin required to prevent resolver from picking pysal 1.x. - conda install matplotlib basemap cartopy python-igraph imagemagick "pysal>=2.1.0" && \ + # 161473620#comment7 pin required to prevent resolver from picking pysal 1.x., pysal 2.2.x is also downloading data on import. + conda install matplotlib basemap cartopy python-igraph imagemagick "pysal==2.1.0" && \ # b/142337634#comment22 pin required to avoid torchaudio downgrade. conda install "pytorch>=1.5.0" "torchvision>=0.6.0" "torchaudio>=0.5.0" cpuonly && \ /tmp/clean-layer.sh