From 9e9aacc102231bced019b462683f5d4c022974d5 Mon Sep 17 00:00:00 2001 From: Matthias Date: Fri, 21 Jun 2024 14:45:03 +0200 Subject: [PATCH] Pin pip to 24.0 for the moment --- .github/workflows/ci.yml | 6 +++--- build_helpers/install_windows.ps1 | 2 +- docker/Dockerfile.armhf | 2 +- setup.sh | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cb2174e74..56d02e5bf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,7 +55,7 @@ jobs: - name: Installation - *nix run: | - python -m pip install --upgrade pip wheel + python -m pip install --upgrade "pip<=24.0" wheel export LD_LIBRARY_PATH=${HOME}/dependencies/lib:$LD_LIBRARY_PATH export TA_LIBRARY_PATH=${HOME}/dependencies/lib export TA_INCLUDE_PATH=${HOME}/dependencies/include @@ -192,7 +192,7 @@ jobs: - name: Installation (python) run: | - python -m pip install --upgrade pip wheel + python -m pip install --upgrade "pip<=24.0" wheel export LD_LIBRARY_PATH=${HOME}/dependencies/lib:$LD_LIBRARY_PATH export TA_LIBRARY_PATH=${HOME}/dependencies/lib export TA_INCLUDE_PATH=${HOME}/dependencies/include @@ -422,7 +422,7 @@ jobs: - name: Installation - *nix run: | - python -m pip install --upgrade pip wheel + python -m pip install --upgrade "pip<=24.0" wheel export LD_LIBRARY_PATH=${HOME}/dependencies/lib:$LD_LIBRARY_PATH export TA_LIBRARY_PATH=${HOME}/dependencies/lib export TA_INCLUDE_PATH=${HOME}/dependencies/include diff --git a/build_helpers/install_windows.ps1 b/build_helpers/install_windows.ps1 index 4aa070992..5f0c643ac 100644 --- a/build_helpers/install_windows.ps1 +++ b/build_helpers/install_windows.ps1 @@ -1,6 +1,6 @@ # vendored Wheels compiled via https://github.com/xmatthias/ta-lib-python/tree/ta_bundled_040 -python -m pip install --upgrade pip wheel +python -m pip install --upgrade "pip<=24.0" wheel $pyv = python -c "import sys; print(f'{sys.version_info.major}.{sys.version_info.minor}')" diff --git a/docker/Dockerfile.armhf b/docker/Dockerfile.armhf index 688254122..fbd952111 100644 --- a/docker/Dockerfile.armhf +++ b/docker/Dockerfile.armhf @@ -17,7 +17,7 @@ RUN mkdir /freqtrade \ && chown ftuser:ftuser /freqtrade \ # Allow sudoers && echo "ftuser ALL=(ALL) NOPASSWD: /bin/chown" >> /etc/sudoers \ - && pip install --upgrade pip + && pip install --upgrade "pip<=24.0" WORKDIR /freqtrade diff --git a/setup.sh b/setup.sh index 18f7682d8..2c5eadabb 100755 --- a/setup.sh +++ b/setup.sh @@ -49,7 +49,7 @@ function updateenv() { source .venv/bin/activate SYS_ARCH=$(uname -m) echo "pip install in-progress. Please wait..." - ${PYTHON} -m pip install --upgrade pip wheel setuptools + ${PYTHON} -m pip install --upgrade "pip<=24.1" wheel setuptools REQUIREMENTS_HYPEROPT="" REQUIREMENTS_PLOT="" REQUIREMENTS_FREQAI=""