Pin numpy below 1.19.0 in Dockerfiles

See #40688.

PiperOrigin-RevId: 318122157
Change-Id: Ief46c5610f3aaf0cdd7d43ce1a10d6d87e8e8e01
This commit is contained in:
Austin Anderson 2020-06-24 12:50:47 -07:00 committed by Geeta Chavan
parent 890eae3e88
commit 04bd81d7e6
12 changed files with 18 additions and 18 deletions

View File

@ -84,7 +84,7 @@ RUN python3 -m pip --no-cache-dir install \
keras_preprocessing \ keras_preprocessing \
matplotlib \ matplotlib \
mock \ mock \
numpy \ numpy<1.19.0 \
scipy \ scipy \
sklearn \ sklearn \
pandas \ pandas \

View File

@ -84,7 +84,7 @@ RUN python3 -m pip --no-cache-dir install \
keras_preprocessing \ keras_preprocessing \
matplotlib \ matplotlib \
mock \ mock \
numpy \ numpy<1.19.0 \
scipy \ scipy \
sklearn \ sklearn \
pandas \ pandas \

View File

@ -126,7 +126,7 @@ RUN python3 -m pip --no-cache-dir install \
keras_preprocessing \ keras_preprocessing \
matplotlib \ matplotlib \
mock \ mock \
numpy \ numpy<1.19.0 \
scipy \ scipy \
sklearn \ sklearn \
pandas \ pandas \

View File

@ -126,7 +126,7 @@ RUN python3 -m pip --no-cache-dir install \
keras_preprocessing \ keras_preprocessing \
matplotlib \ matplotlib \
mock \ mock \
numpy \ numpy<1.19.0 \
scipy \ scipy \
sklearn \ sklearn \
pandas \ pandas \

View File

@ -84,7 +84,7 @@ RUN python3 -m pip --no-cache-dir install \
keras_preprocessing \ keras_preprocessing \
matplotlib \ matplotlib \
mock \ mock \
numpy \ numpy<1.19.0 \
scipy \ scipy \
sklearn \ sklearn \
pandas \ pandas \
@ -93,7 +93,7 @@ RUN python3 -m pip --no-cache-dir install \
enum34 enum34
# Install bazel # Install bazel
ARG BAZEL_VERSION=3.0.0 ARG BAZEL_VERSION=3.1.0
RUN mkdir /bazel && \ 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/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" && \ wget -O /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \

View File

@ -84,7 +84,7 @@ RUN python3 -m pip --no-cache-dir install \
keras_preprocessing \ keras_preprocessing \
matplotlib \ matplotlib \
mock \ mock \
numpy \ numpy<1.19.0 \
scipy \ scipy \
sklearn \ sklearn \
pandas \ pandas \
@ -93,7 +93,7 @@ RUN python3 -m pip --no-cache-dir install \
enum34 enum34
# Install bazel # Install bazel
ARG BAZEL_VERSION=3.0.0 ARG BAZEL_VERSION=3.1.0
RUN mkdir /bazel && \ 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/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" && \ wget -O /bazel/LICENSE.txt "https://raw.githubusercontent.com/bazelbuild/bazel/master/LICENSE" && \

View File

@ -83,7 +83,7 @@ RUN python3 -m pip --no-cache-dir install \
keras_preprocessing \ keras_preprocessing \
matplotlib \ matplotlib \
mock \ mock \
numpy \ numpy<1.19.0 \
scipy \ scipy \
sklearn \ sklearn \
pandas \ pandas \
@ -91,7 +91,7 @@ RUN python3 -m pip --no-cache-dir install \
enum34 enum34
# Build and install bazel # Build and install bazel
ENV BAZEL_VERSION 3.0.0 ENV BAZEL_VERSION 3.1.0
WORKDIR / WORKDIR /
RUN mkdir /bazel && \ RUN mkdir /bazel && \
cd /bazel && \ cd /bazel && \

View File

@ -83,7 +83,7 @@ RUN python3 -m pip --no-cache-dir install \
keras_preprocessing \ keras_preprocessing \
matplotlib \ matplotlib \
mock \ mock \
numpy \ numpy<1.19.0 \
scipy \ scipy \
sklearn \ sklearn \
pandas \ pandas \
@ -91,7 +91,7 @@ RUN python3 -m pip --no-cache-dir install \
enum34 enum34
# Build and install bazel # Build and install bazel
ENV BAZEL_VERSION 3.0.0 ENV BAZEL_VERSION 3.1.0
WORKDIR / WORKDIR /
RUN mkdir /bazel && \ RUN mkdir /bazel && \
cd /bazel && \ cd /bazel && \

View File

@ -125,7 +125,7 @@ RUN python3 -m pip --no-cache-dir install \
keras_preprocessing \ keras_preprocessing \
matplotlib \ matplotlib \
mock \ mock \
numpy \ numpy<1.19.0 \
scipy \ scipy \
sklearn \ sklearn \
pandas \ pandas \
@ -133,7 +133,7 @@ RUN python3 -m pip --no-cache-dir install \
enum34 enum34
# Build and install bazel # Build and install bazel
ENV BAZEL_VERSION 3.0.0 ENV BAZEL_VERSION 3.1.0
WORKDIR / WORKDIR /
RUN mkdir /bazel && \ RUN mkdir /bazel && \
cd /bazel && \ cd /bazel && \

View File

@ -125,7 +125,7 @@ RUN python3 -m pip --no-cache-dir install \
keras_preprocessing \ keras_preprocessing \
matplotlib \ matplotlib \
mock \ mock \
numpy \ numpy<1.19.0 \
scipy \ scipy \
sklearn \ sklearn \
pandas \ pandas \
@ -133,7 +133,7 @@ RUN python3 -m pip --no-cache-dir install \
enum34 enum34
# Build and install bazel # Build and install bazel
ENV BAZEL_VERSION 3.0.0 ENV BAZEL_VERSION 3.1.0
WORKDIR / WORKDIR /
RUN mkdir /bazel && \ RUN mkdir /bazel && \
cd /bazel && \ cd /bazel && \

View File

@ -14,7 +14,7 @@ RUN python3 -m pip --no-cache-dir install \
keras_preprocessing \ keras_preprocessing \
matplotlib \ matplotlib \
mock \ mock \
numpy \ numpy<1.19.0 \
scipy \ scipy \
sklearn \ sklearn \
pandas \ pandas \

View File

@ -13,7 +13,7 @@ RUN python3 -m pip --no-cache-dir install \
keras_preprocessing \ keras_preprocessing \
matplotlib \ matplotlib \
mock \ mock \
numpy \ numpy<1.19.0 \
scipy \ scipy \
sklearn \ sklearn \
pandas \ pandas \