From d56fc376a5a7fca78a7133b68d1cb87897e58990 Mon Sep 17 00:00:00 2001 From: Benoit Date: Tue, 2 Dec 2025 23:57:36 +0100 Subject: [PATCH] Fix dependencies for Python 3.8 compatibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update numpy and scipy to versions compatible with Python 3.8: - numpy: 1.24.3 → 1.23.5 - scipy: 1.11.4 → 1.10.1 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- backend/Dockerfile | 5 +++-- backend/requirements.txt | 6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index 6fdee00..120924a 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -24,8 +24,9 @@ RUN pip install --no-cache-dir --upgrade pip setuptools wheel COPY requirements.txt . # Install Python dependencies in stages for better caching -RUN pip install --no-cache-dir numpy==1.24.3 -RUN pip install --no-cache-dir scipy==1.11.4 +# Using versions compatible with Python 3.8 +RUN pip install --no-cache-dir numpy==1.23.5 +RUN pip install --no-cache-dir scipy==1.10.1 # Install Essentia - Python 3.8 version (latest available with pre-built wheels) RUN ARCH=$(uname -m) && \ diff --git a/backend/requirements.txt b/backend/requirements.txt index 549f0ec..cc25133 100644 --- a/backend/requirements.txt +++ b/backend/requirements.txt @@ -18,9 +18,9 @@ mutagen==1.47.0 # Essentia for genre/mood/instrument classification # Note: Essentia is installed separately in Dockerfile from official wheels -# Scientific Computing -numpy==1.24.3 -scipy==1.11.4 +# Scientific Computing (versions compatible with Python 3.8) +numpy==1.23.5 +scipy==1.10.1 # Configuration & Validation pydantic==2.5.3