Skip to content

Commit 3290b66

Browse files
committed
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
1 parent 6afd928 commit 3290b66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ RUN conda config --add channels conda-forge && \
4343
conda config --add channels pytorch && \
4444
conda config --add channels rapidsai && \
4545
# ^ rapidsai is the highest priority channel, default lowest, conda-forge 2nd lowest.
46-
# b/161473620 pin required to prevent resolver from picking pysal 1.x.
47-
conda install matplotlib basemap cartopy python-igraph imagemagick "pysal>=2.1.0" && \
46+
# 161473620#comment7 pin required to prevent resolver from picking pysal 1.x., pysal 2.2.x is also downloading data on import.
47+
conda install matplotlib basemap cartopy python-igraph imagemagick "pysal==2.1.0" && \
4848
# b/142337634#comment22 pin required to avoid torchaudio downgrade.
4949
conda install "pytorch>=1.5.0" "torchvision>=0.6.0" "torchaudio>=0.5.0" cpuonly && \
5050
/tmp/clean-layer.sh

0 commit comments

Comments
 (0)