Browse Source

pin numpy

Blake Blackshear 4 năm trước cách đây
mục cha
commit
144aff9b4e
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      docker/Dockerfile.wheels

+ 2 - 1
docker/Dockerfile.wheels

@@ -24,7 +24,8 @@ RUN pip3 install scikit-build
 
 RUN pip3 wheel --wheel-dir=/wheels \
     opencv-python-headless \
-    numpy \
+    # pinning due to issue in 1.19.5 https://github.com/numpy/numpy/issues/18131
+    numpy==1.19.4 \
     imutils \
     scipy \
     psutil \