From 609fc19861451d8d613cd68df4bdc09bcf38de4d Mon Sep 17 00:00:00 2001 From: jay-johnson Date: Sun, 12 Aug 2018 08:39:29 +0000 Subject: [PATCH] fixing warnings from tensorflow --- docker/Dockerfile | 5 +++++ setup.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index efb6123..12548fc 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -210,6 +210,11 @@ RUN ls /opt/antinex/core/ \ && chmod 777 /opt/antinex/core/docker/jupyter/start-container.sh \ && chmod 777 /opt/antinex/core/run-antinex-core.sh +RUN echo "Downgrading numpy and setuptools for tensorflow" \ + && . /opt/venv/bin/activate \ + && pip install --upgrade numpy==1.14.5 \ + && pip install --upgrade setuptools==39.1.0 + ENV PIPELINE_PROCESSOR_SCRIPT /opt/antinex/pipeline/network_pipeline/scripts/packets_redis.py ENV JUPYTER_START_SCRIPT /opt/antinex/core/docker/jupyter/start-container.sh ENV NO_DB_WORKER_START_SCRIPT /opt/antinex/core/run-antinex-core.sh diff --git a/setup.py b/setup.py index 954a8dc..233de33 100644 --- a/setup.py +++ b/setup.py @@ -87,7 +87,7 @@ def run_tests(self): setup( name="antinex-core", cmdclass={"test": PyTest}, - version="1.3.6", + version="1.3.7", description=( "AntiNex publisher-subscriber core for processing " "training and prediction requests for deep neural "