Pin numpy below 1.19.0 in Dockerfiles
See #40688. PiperOrigin-RevId: 318122157 Change-Id: Ief46c5610f3aaf0cdd7d43ce1a10d6d87e8e8e01
This commit is contained in:
parent
890eae3e88
commit
04bd81d7e6
|
@ -84,7 +84,7 @@ RUN python3 -m pip --no-cache-dir install \
|
|||
keras_preprocessing \
|
||||
matplotlib \
|
||||
mock \
|
||||
numpy \
|
||||
numpy<1.19.0 \
|
||||
scipy \
|
||||
sklearn \
|
||||
pandas \
|
||||
|
|
|
@ -84,7 +84,7 @@ RUN python3 -m pip --no-cache-dir install \
|
|||
keras_preprocessing \
|
||||
matplotlib \
|
||||
mock \
|
||||
numpy \
|
||||
numpy<1.19.0 \
|
||||
scipy \
|
||||
sklearn \
|
||||
pandas \
|
||||
|
|
|
@ -126,7 +126,7 @@ RUN python3 -m pip --no-cache-dir install \
|
|||
keras_preprocessing \
|
||||
matplotlib \
|
||||
mock \
|
||||
numpy \
|
||||
numpy<1.19.0 \
|
||||
scipy \
|
||||
sklearn \
|
||||
pandas \
|
||||
|
|
|
@ -126,7 +126,7 @@ RUN python3 -m pip --no-cache-dir install \
|
|||
keras_preprocessing \
|
||||
matplotlib \
|
||||
mock \
|
||||
numpy \
|
||||
numpy<1.19.0 \
|
||||
scipy \
|
||||
sklearn \
|
||||
pandas \
|
||||
|
|
|
@ -84,7 +84,7 @@ RUN python3 -m pip --no-cache-dir install \
|
|||
keras_preprocessing \
|
||||
matplotlib \
|
||||
mock \
|
||||
numpy \
|
||||
numpy<1.19.0 \
|
||||
scipy \
|
||||
sklearn \
|
||||
pandas \
|
||||
|
@ -93,7 +93,7 @@ RUN python3 -m pip --no-cache-dir install \
|
|||
enum34
|
||||
|
||||
# Install bazel
|
||||
ARG BAZEL_VERSION=3.0.0
|
||||
ARG BAZEL_VERSION=3.1.0
|
||||
RUN mkdir /bazel && \
|
||||
wget -O /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
|
||||
wget -O /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \
|
||||
|
|
|
@ -84,7 +84,7 @@ RUN python3 -m pip --no-cache-dir install \
|
|||
keras_preprocessing \
|
||||
matplotlib \
|
||||
mock \
|
||||
numpy \
|
||||
numpy<1.19.0 \
|
||||
scipy \
|
||||
sklearn \
|
||||
pandas \
|
||||
|
@ -93,7 +93,7 @@ RUN python3 -m pip --no-cache-dir install \
|
|||
enum34
|
||||
|
||||
# Install bazel
|
||||
ARG BAZEL_VERSION=3.0.0
|
||||
ARG BAZEL_VERSION=3.1.0
|
||||
RUN mkdir /bazel && \
|
||||
wget -O /bazel/installer.sh "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh" && \
|
||||
wget -O /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \
|
||||
|
|
|
@ -83,7 +83,7 @@ RUN python3 -m pip --no-cache-dir install \
|
|||
keras_preprocessing \
|
||||
matplotlib \
|
||||
mock \
|
||||
numpy \
|
||||
numpy<1.19.0 \
|
||||
scipy \
|
||||
sklearn \
|
||||
pandas \
|
||||
|
@ -91,7 +91,7 @@ RUN python3 -m pip --no-cache-dir install \
|
|||
enum34
|
||||
|
||||
# Build and install bazel
|
||||
ENV BAZEL_VERSION 3.0.0
|
||||
ENV BAZEL_VERSION 3.1.0
|
||||
WORKDIR /
|
||||
RUN mkdir /bazel && \
|
||||
cd /bazel && \
|
||||
|
|
|
@ -83,7 +83,7 @@ RUN python3 -m pip --no-cache-dir install \
|
|||
keras_preprocessing \
|
||||
matplotlib \
|
||||
mock \
|
||||
numpy \
|
||||
numpy<1.19.0 \
|
||||
scipy \
|
||||
sklearn \
|
||||
pandas \
|
||||
|
@ -91,7 +91,7 @@ RUN python3 -m pip --no-cache-dir install \
|
|||
enum34
|
||||
|
||||
# Build and install bazel
|
||||
ENV BAZEL_VERSION 3.0.0
|
||||
ENV BAZEL_VERSION 3.1.0
|
||||
WORKDIR /
|
||||
RUN mkdir /bazel && \
|
||||
cd /bazel && \
|
||||
|
|
|
@ -125,7 +125,7 @@ RUN python3 -m pip --no-cache-dir install \
|
|||
keras_preprocessing \
|
||||
matplotlib \
|
||||
mock \
|
||||
numpy \
|
||||
numpy<1.19.0 \
|
||||
scipy \
|
||||
sklearn \
|
||||
pandas \
|
||||
|
@ -133,7 +133,7 @@ RUN python3 -m pip --no-cache-dir install \
|
|||
enum34
|
||||
|
||||
# Build and install bazel
|
||||
ENV BAZEL_VERSION 3.0.0
|
||||
ENV BAZEL_VERSION 3.1.0
|
||||
WORKDIR /
|
||||
RUN mkdir /bazel && \
|
||||
cd /bazel && \
|
||||
|
|
|
@ -125,7 +125,7 @@ RUN python3 -m pip --no-cache-dir install \
|
|||
keras_preprocessing \
|
||||
matplotlib \
|
||||
mock \
|
||||
numpy \
|
||||
numpy<1.19.0 \
|
||||
scipy \
|
||||
sklearn \
|
||||
pandas \
|
||||
|
@ -133,7 +133,7 @@ RUN python3 -m pip --no-cache-dir install \
|
|||
enum34
|
||||
|
||||
# Build and install bazel
|
||||
ENV BAZEL_VERSION 3.0.0
|
||||
ENV BAZEL_VERSION 3.1.0
|
||||
WORKDIR /
|
||||
RUN mkdir /bazel && \
|
||||
cd /bazel && \
|
||||
|
|
|
@ -14,7 +14,7 @@ RUN python3 -m pip --no-cache-dir install \
|
|||
keras_preprocessing \
|
||||
matplotlib \
|
||||
mock \
|
||||
numpy \
|
||||
numpy<1.19.0 \
|
||||
scipy \
|
||||
sklearn \
|
||||
pandas \
|
||||
|
|
|
@ -13,7 +13,7 @@ RUN python3 -m pip --no-cache-dir install \
|
|||
keras_preprocessing \
|
||||
matplotlib \
|
||||
mock \
|
||||
numpy \
|
||||
numpy<1.19.0 \
|
||||
scipy \
|
||||
sklearn \
|
||||
pandas \
|
||||
|
|
Loading…
Reference in New Issue