diff --git a/Dockerfile b/Dockerfile index edc35b474..064637b8a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,7 +35,7 @@ ENV LD_LIBRARY_PATH /usr/local/lib # Install dependencies COPY --chown=ftuser:ftuser requirements.txt requirements-hyperopt.txt /freqtrade/ USER ftuser -RUN pip install --user --no-cache-dir "numpy<3.0" \ +RUN pip install --user --no-cache-dir "numpy<2.3.0" \ && pip install --user --no-cache-dir -r requirements-hyperopt.txt # Copy dependencies to runtime-image diff --git a/build_helpers/install_windows.ps1 b/build_helpers/install_windows.ps1 index 3cdbbb3f6..99f4de025 100644 --- a/build_helpers/install_windows.ps1 +++ b/build_helpers/install_windows.ps1 @@ -3,7 +3,7 @@ python -m pip install --upgrade pip python -c "import sys; print(f'{sys.version_info.major}.{sys.version_info.minor}')" -pip install -U wheel "numpy<3" +pip install -U wheel "numpy<2.3" pip install --only-binary ta-lib --find-links=build_helpers\ ta-lib pip install -r requirements-dev.txt diff --git a/docker/Dockerfile.armhf b/docker/Dockerfile.armhf index 3c705180c..6167c0d07 100644 --- a/docker/Dockerfile.armhf +++ b/docker/Dockerfile.armhf @@ -34,7 +34,7 @@ COPY build_helpers/* /tmp/ # Install dependencies COPY --chown=ftuser:ftuser requirements.txt /freqtrade/ USER ftuser -RUN pip install --user --no-cache-dir "numpy<3" \ +RUN pip install --user --no-cache-dir "numpy<2.3.0" \ && pip install --user --no-index --find-links /tmp/ pyarrow TA-Lib \ && pip install --user --no-cache-dir -r requirements.txt