From 1d941249ede429be41c0729d8f54ca09ecec0144 Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 4 Oct 2023 19:57:26 +0200 Subject: [PATCH] Revert "Remove numpy armv7l lock since wheels are now available" This reverts commit 04409602a6ff609de034dcab6cbc61af59c208fa. --- docker/Dockerfile.armhf | 4 ++-- requirements.txt | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docker/Dockerfile.armhf b/docker/Dockerfile.armhf index 231305778..9e518a01d 100644 --- a/docker/Dockerfile.armhf +++ b/docker/Dockerfile.armhf @@ -36,9 +36,9 @@ ENV LD_LIBRARY_PATH /usr/local/lib # Install dependencies COPY --chown=ftuser:ftuser requirements.txt /freqtrade/ USER ftuser -RUN pip install --user --no-cache-dir numpy \ +RUN pip install --user --no-cache-dir numpy==1.25.2 \ && pip install --user /tmp/pyarrow-*.whl \ - && pip install --user TA-Lib==0.4.28 \ + && pip install --user --no-build-isolation TA-Lib==0.4.28 \ && pip install --user --no-cache-dir -r requirements.txt # Copy dependencies to runtime-image diff --git a/requirements.txt b/requirements.txt index 163e0fbba..2f40b1c4a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,5 @@ -numpy==1.26.0 +numpy==1.26.0; platform_machine != 'armv7l' +numpy==1.25.2; platform_machine == 'armv7l' pandas==2.0.3 pandas-ta==0.3.14b