Browse Source

pin numpy

Blake Blackshear 4 years ago
parent
commit
144aff9b4e
1 changed files with 2 additions and 1 deletions
  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 \
 RUN pip3 wheel --wheel-dir=/wheels \
     opencv-python-headless \
     opencv-python-headless \
-    numpy \
+    # pinning due to issue in 1.19.5 https://github.com/numpy/numpy/issues/18131
+    numpy==1.19.4 \
     imutils \
     imutils \
     scipy \
     scipy \
     psutil \
     psutil \