From 505e4c8bd050982ab614a39f5c2fc55f23b460f0 Mon Sep 17 00:00:00 2001 From: Antoine Paletta Date: Wed, 19 Jun 2024 19:25:22 +0000 Subject: [PATCH] fix: add extra locations where numpy is specified --- docker/jupyter/Dockerfile | 2 +- docker/release/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/jupyter/Dockerfile b/docker/jupyter/Dockerfile index 2d8f42db..329f0f18 100644 --- a/docker/jupyter/Dockerfile +++ b/docker/jupyter/Dockerfile @@ -18,7 +18,7 @@ RUN apt-get update \ && apt-get install -y curl \ && rm -rf /var/lib/apt/lists/* -RUN pip install --quiet "numpy" "pandas" "plotly" "ipywidgets>=7.6" "ipympl>=0.9.0" +RUN pip install --quiet "numpy>=1.17.4,<2.0.0" "pandas" "plotly" "ipywidgets>=7.6" "ipympl>=0.9.0" # Install JupyterLab extensions diff --git a/docker/release/Dockerfile b/docker/release/Dockerfile index 9eaa671b..4fce5643 100644 --- a/docker/release/Dockerfile +++ b/docker/release/Dockerfile @@ -49,7 +49,7 @@ FROM python:${PYTHON_TEST_VERSION}-slim as python-release LABEL maintainer="lucas@loftorbital.com" -RUN pip install ipython numpy +RUN pip install ipython "numpy>=1.17.4,<2.0.0" COPY --from=python-builder /usr/local/lib/python${PYTHON_TEST_VERSION}/site-packages/ostk /usr/local/lib/python${PYTHON_TEST_VERSION}/site-packages/ostk