From 43a89804fc11a966fcbec25345a079d15999b8b7 Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 1 Jul 2024 08:04:35 -0700 Subject: [PATCH] chore: Lock in pip to version 24.0 * Installing pip 24.0 to avoid build failure see [pypa/pip#12063](https://github.com/pypa/pip/issues/12063) * FIxes Issue #294 Issue: #294 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 50ea983e..d4f2421d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,7 +25,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ libatlas-base-dev libhdf5-dev libavutil-dev libswresample-dev libavcodec-dev libavformat-dev libswscale-dev \ && mkdir -p /nefarious-db \ && python -m venv /env \ - && /env/bin/pip install -U pip \ + && /env/bin/pip install --force-reinstall -v "pip==24.0" \ && /env/bin/pip install --no-cache-dir --only-binary :all: --extra-index-url https://www.piwheels.org/simple -r requirements.txt \ && /env/bin/python manage.py collectstatic --no-input \ && apt-get autoremove -y \