From 5af8da4a17bfec2bab5e186e9424858b8ed936b5 Mon Sep 17 00:00:00 2001 From: Austin Anderson Date: Thu, 25 Jun 2020 13:07:09 -0700 Subject: [PATCH] Fix docker for numpy again I forgot about the trouble using '<' in pip dependencies on the CLI. This time I verified the build works. PiperOrigin-RevId: 318332763 Change-Id: I347aee8121464232222e72d89409c600159ee80c --- .../tools/dockerfiles/dockerfiles/devel-cpu-jupyter.Dockerfile | 2 +- tensorflow/tools/dockerfiles/dockerfiles/devel-cpu.Dockerfile | 2 +- .../tools/dockerfiles/dockerfiles/devel-gpu-jupyter.Dockerfile | 2 +- tensorflow/tools/dockerfiles/dockerfiles/devel-gpu.Dockerfile | 2 +- .../dockerfiles/mkl_horovod/devel-horovod-jupyter.Dockerfile | 2 +- .../dockerfiles/mkl_horovod/devel-horovod.Dockerfile | 2 +- .../dockerfiles/ppc64le/devel-cpu-ppc64le-jupyter.Dockerfile | 2 +- .../dockerfiles/ppc64le/devel-cpu-ppc64le.Dockerfile | 2 +- .../dockerfiles/ppc64le/devel-gpu-ppc64le-jupyter.Dockerfile | 2 +- .../dockerfiles/ppc64le/devel-gpu-ppc64le.Dockerfile | 2 +- .../tools/dockerfiles/partials/ubuntu/bazel.partial.Dockerfile | 2 +- .../dockerfiles/partials/ubuntu/bazelbuild.partial.Dockerfile | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/tensorflow/tools/dockerfiles/dockerfiles/devel-cpu-jupyter.Dockerfile b/tensorflow/tools/dockerfiles/dockerfiles/devel-cpu-jupyter.Dockerfile index 3ea196bb354..78ec4416f47 100644 --- a/tensorflow/tools/dockerfiles/dockerfiles/devel-cpu-jupyter.Dockerfile +++ b/tensorflow/tools/dockerfiles/dockerfiles/devel-cpu-jupyter.Dockerfile @@ -84,7 +84,7 @@ RUN python3 -m pip --no-cache-dir install \ keras_preprocessing \ matplotlib \ mock \ - numpy<1.19.0 \ + 'numpy<1.19.0' \ scipy \ sklearn \ pandas \ diff --git a/tensorflow/tools/dockerfiles/dockerfiles/devel-cpu.Dockerfile b/tensorflow/tools/dockerfiles/dockerfiles/devel-cpu.Dockerfile index d3a487d754c..018b7bb35ba 100644 --- a/tensorflow/tools/dockerfiles/dockerfiles/devel-cpu.Dockerfile +++ b/tensorflow/tools/dockerfiles/dockerfiles/devel-cpu.Dockerfile @@ -84,7 +84,7 @@ RUN python3 -m pip --no-cache-dir install \ keras_preprocessing \ matplotlib \ mock \ - numpy<1.19.0 \ + 'numpy<1.19.0' \ scipy \ sklearn \ pandas \ diff --git a/tensorflow/tools/dockerfiles/dockerfiles/devel-gpu-jupyter.Dockerfile b/tensorflow/tools/dockerfiles/dockerfiles/devel-gpu-jupyter.Dockerfile index f6e6b2e4869..b99c384fe20 100644 --- a/tensorflow/tools/dockerfiles/dockerfiles/devel-gpu-jupyter.Dockerfile +++ b/tensorflow/tools/dockerfiles/dockerfiles/devel-gpu-jupyter.Dockerfile @@ -126,7 +126,7 @@ RUN python3 -m pip --no-cache-dir install \ keras_preprocessing \ matplotlib \ mock \ - numpy<1.19.0 \ + 'numpy<1.19.0' \ scipy \ sklearn \ pandas \ diff --git a/tensorflow/tools/dockerfiles/dockerfiles/devel-gpu.Dockerfile b/tensorflow/tools/dockerfiles/dockerfiles/devel-gpu.Dockerfile index 9301ca36712..4493964cffc 100644 --- a/tensorflow/tools/dockerfiles/dockerfiles/devel-gpu.Dockerfile +++ b/tensorflow/tools/dockerfiles/dockerfiles/devel-gpu.Dockerfile @@ -126,7 +126,7 @@ RUN python3 -m pip --no-cache-dir install \ keras_preprocessing \ matplotlib \ mock \ - numpy<1.19.0 \ + 'numpy<1.19.0' \ scipy \ sklearn \ pandas \ diff --git a/tensorflow/tools/dockerfiles/dockerfiles/mkl_horovod/devel-horovod-jupyter.Dockerfile b/tensorflow/tools/dockerfiles/dockerfiles/mkl_horovod/devel-horovod-jupyter.Dockerfile index a41f979aecd..5ed856259a9 100644 --- a/tensorflow/tools/dockerfiles/dockerfiles/mkl_horovod/devel-horovod-jupyter.Dockerfile +++ b/tensorflow/tools/dockerfiles/dockerfiles/mkl_horovod/devel-horovod-jupyter.Dockerfile @@ -84,7 +84,7 @@ RUN python3 -m pip --no-cache-dir install \ keras_preprocessing \ matplotlib \ mock \ - numpy<1.19.0 \ + 'numpy<1.19.0' \ scipy \ sklearn \ pandas \ diff --git a/tensorflow/tools/dockerfiles/dockerfiles/mkl_horovod/devel-horovod.Dockerfile b/tensorflow/tools/dockerfiles/dockerfiles/mkl_horovod/devel-horovod.Dockerfile index 8da0f799662..a4a0bee0bc6 100644 --- a/tensorflow/tools/dockerfiles/dockerfiles/mkl_horovod/devel-horovod.Dockerfile +++ b/tensorflow/tools/dockerfiles/dockerfiles/mkl_horovod/devel-horovod.Dockerfile @@ -84,7 +84,7 @@ RUN python3 -m pip --no-cache-dir install \ keras_preprocessing \ matplotlib \ mock \ - numpy<1.19.0 \ + 'numpy<1.19.0' \ scipy \ sklearn \ pandas \ diff --git a/tensorflow/tools/dockerfiles/dockerfiles/ppc64le/devel-cpu-ppc64le-jupyter.Dockerfile b/tensorflow/tools/dockerfiles/dockerfiles/ppc64le/devel-cpu-ppc64le-jupyter.Dockerfile index 9542bf3d17a..14ae948c31a 100644 --- a/tensorflow/tools/dockerfiles/dockerfiles/ppc64le/devel-cpu-ppc64le-jupyter.Dockerfile +++ b/tensorflow/tools/dockerfiles/dockerfiles/ppc64le/devel-cpu-ppc64le-jupyter.Dockerfile @@ -83,7 +83,7 @@ RUN python3 -m pip --no-cache-dir install \ keras_preprocessing \ matplotlib \ mock \ - numpy<1.19.0 \ + 'numpy<1.19.0' \ scipy \ sklearn \ pandas \ diff --git a/tensorflow/tools/dockerfiles/dockerfiles/ppc64le/devel-cpu-ppc64le.Dockerfile b/tensorflow/tools/dockerfiles/dockerfiles/ppc64le/devel-cpu-ppc64le.Dockerfile index 60b0e07c62a..c098b863eaa 100644 --- a/tensorflow/tools/dockerfiles/dockerfiles/ppc64le/devel-cpu-ppc64le.Dockerfile +++ b/tensorflow/tools/dockerfiles/dockerfiles/ppc64le/devel-cpu-ppc64le.Dockerfile @@ -83,7 +83,7 @@ RUN python3 -m pip --no-cache-dir install \ keras_preprocessing \ matplotlib \ mock \ - numpy<1.19.0 \ + 'numpy<1.19.0' \ scipy \ sklearn \ pandas \ diff --git a/tensorflow/tools/dockerfiles/dockerfiles/ppc64le/devel-gpu-ppc64le-jupyter.Dockerfile b/tensorflow/tools/dockerfiles/dockerfiles/ppc64le/devel-gpu-ppc64le-jupyter.Dockerfile index 00116417490..1967c20419c 100644 --- a/tensorflow/tools/dockerfiles/dockerfiles/ppc64le/devel-gpu-ppc64le-jupyter.Dockerfile +++ b/tensorflow/tools/dockerfiles/dockerfiles/ppc64le/devel-gpu-ppc64le-jupyter.Dockerfile @@ -125,7 +125,7 @@ RUN python3 -m pip --no-cache-dir install \ keras_preprocessing \ matplotlib \ mock \ - numpy<1.19.0 \ + 'numpy<1.19.0' \ scipy \ sklearn \ pandas \ diff --git a/tensorflow/tools/dockerfiles/dockerfiles/ppc64le/devel-gpu-ppc64le.Dockerfile b/tensorflow/tools/dockerfiles/dockerfiles/ppc64le/devel-gpu-ppc64le.Dockerfile index 6c01d3499c9..ffd74c52efa 100644 --- a/tensorflow/tools/dockerfiles/dockerfiles/ppc64le/devel-gpu-ppc64le.Dockerfile +++ b/tensorflow/tools/dockerfiles/dockerfiles/ppc64le/devel-gpu-ppc64le.Dockerfile @@ -125,7 +125,7 @@ RUN python3 -m pip --no-cache-dir install \ keras_preprocessing \ matplotlib \ mock \ - numpy<1.19.0 \ + 'numpy<1.19.0' \ scipy \ sklearn \ pandas \ diff --git a/tensorflow/tools/dockerfiles/partials/ubuntu/bazel.partial.Dockerfile b/tensorflow/tools/dockerfiles/partials/ubuntu/bazel.partial.Dockerfile index 7babbdaae97..9dbfb2e71ac 100644 --- a/tensorflow/tools/dockerfiles/partials/ubuntu/bazel.partial.Dockerfile +++ b/tensorflow/tools/dockerfiles/partials/ubuntu/bazel.partial.Dockerfile @@ -14,7 +14,7 @@ RUN python3 -m pip --no-cache-dir install \ keras_preprocessing \ matplotlib \ mock \ - numpy<1.19.0 \ + 'numpy<1.19.0' \ scipy \ sklearn \ pandas \ diff --git a/tensorflow/tools/dockerfiles/partials/ubuntu/bazelbuild.partial.Dockerfile b/tensorflow/tools/dockerfiles/partials/ubuntu/bazelbuild.partial.Dockerfile index f3f9d689506..015427b707b 100644 --- a/tensorflow/tools/dockerfiles/partials/ubuntu/bazelbuild.partial.Dockerfile +++ b/tensorflow/tools/dockerfiles/partials/ubuntu/bazelbuild.partial.Dockerfile @@ -13,7 +13,7 @@ RUN python3 -m pip --no-cache-dir install \ keras_preprocessing \ matplotlib \ mock \ - numpy<1.19.0 \ + 'numpy<1.19.0' \ scipy \ sklearn \ pandas \