Skip to content

Commit bcc29fb

Browse files
authored
Pin osmx to 1.1.1 (#1101)
Prevent upgrade to numpy 1.21.x. The latest version of osmx (1.1.2) requires numpy >= 1.21: https://github.com/gboeing/osmnx/blob/6f9236f20a81416bf34186a811a8ebb76afa0dc8/requirements.txt#L4 http://b/206990323
1 parent ea00dc1 commit bcc29fb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile.tmpl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,8 @@ RUN pip install flashtext && \
460460
pip install plotly_express && \
461461
pip install albumentations && \
462462
pip install catalyst && \
463-
pip install osmnx && \
463+
# b/206990323 osmx 1.1.2 requires numpy >= 1.21 which we don't want.
464+
pip install osmnx==1.1.1 && \
464465
apt-get -y install libspatialindex-dev && \
465466
pip install pytorch-ignite && \
466467
pip install qgrid && \

0 commit comments

Comments
 (0)